Greater resolution per object
Posted: Fri Feb 25, 2011 3:56 am
Hi,
Not sure what I am asking is even possible but here goes.
One main problem with chipmunk (and indeed all physics engines to some extent) is that visually an object can potentially intersect another.
This can be reduced my calling cpspacestep more frequently.
Would it not be possible to have this but on a per body basis?
i.e. I don't care that the baddie might 'bump' off a wall but the player character is the centre of focus and therefore it is noticeable if it happens to that body.
I appreciate this may be either completely non-trivial or simply not possible to have 1 body within the simulated space 'correct itself' with a different time step than the others.
just a thought!
Cheers
Not sure what I am asking is even possible but here goes.
One main problem with chipmunk (and indeed all physics engines to some extent) is that visually an object can potentially intersect another.
This can be reduced my calling cpspacestep more frequently.
Would it not be possible to have this but on a per body basis?
i.e. I don't care that the baddie might 'bump' off a wall but the player character is the centre of focus and therefore it is noticeable if it happens to that body.
I appreciate this may be either completely non-trivial or simply not possible to have 1 body within the simulated space 'correct itself' with a different time step than the others.
just a thought!
Cheers