subspace-infinity
subspace-infinity copied to clipboard
Server/Physics: Implement 2d mphys system
Situation: As it is now, the physics system is 3d oriented. For Subspace Infinity, only 2D is needed
- Extend PhysicsSpace w. constructor taking a new TandemContactResolver
- Overwrite PhysicsSpace::resolveContacts( double step ) and use new resolver
- Overwrie TandemContactResolver::resolvePenetration and TandemContactResolver::resolveVelocity and copy-paste, and then cancel out any y-calculations
or
- Extend RigidBody and overwrite Integrate() and cancel the y-movement there