SimplePushResponse

@three-blocks/pro
const SimplePushResponse : CollisionResponseModel = { name: 'simple-push', config: { positionCorrection: 1.0, }, resolve( bodyA, bodyB, normal, penetration ) { const hal...
Value
{ name: 'simple-push', config: { positionCorrection: 1.0, }, resolve( bodyA, bodyB, normal, penetration ) { const half = penetration * 0.5 * this.config.positionCorrection; bodyA.position.addScaledVector( normal, - half ); bodyB.position...

Simple push collision response - position correction only.

Bodies are pushed apart equally by half the penetration depth. No velocity changes, no momentum transfer.