subspace-infinity icon indicating copy to clipboard operation
subspace-infinity copied to clipboard

Server/Physics: Implement 2d mphys system

Open assofohdz opened this issue 3 years ago • 0 comments

Situation: As it is now, the physics system is 3d oriented. For Subspace Infinity, only 2D is needed

  1. Extend PhysicsSpace w. constructor taking a new TandemContactResolver
  2. Overwrite PhysicsSpace::resolveContacts( double step ) and use new resolver
  3. Overwrie TandemContactResolver::resolvePenetration and TandemContactResolver::resolveVelocity and copy-paste, and then cancel out any y-calculations

or

  1. Extend RigidBody and overwrite Integrate() and cancel the y-movement there

assofohdz avatar Jan 09 '23 20:01 assofohdz