Lefty
Stalker
- Joined
- Mar 5, 2009
- Posts
- 1,722
- Location
- Billy's Spaceship Afterworld
- Society
- Calypso Rescue Team
- Avatar Name
- Medb Lefty Lucy
The order in which clipping is resolved when a moving object encounters a hard surface is the reverse of what it should be.
Locations of both objects need to be resolved before the hard surface begins preventing movement. When a moving object has overlapped a hard surface, its position needs to be adjusted so as to not conflict with that of the hard surface BEFORE it stops moving, not after.
This is really just not all that complicated. It's one small adjustment in one spot in movement logic, and it fixes a litany of trouble.
Locations of both objects need to be resolved before the hard surface begins preventing movement. When a moving object has overlapped a hard surface, its position needs to be adjusted so as to not conflict with that of the hard surface BEFORE it stops moving, not after.
This is really just not all that complicated. It's one small adjustment in one spot in movement logic, and it fixes a litany of trouble.