api-Hypernova / ac2-game-src

Temporary source base for AC2 game code, soon to be ported to Rival
1 stars 0 forks source link

Port AC2 movement physics #62

Open api-Hypernova opened 7 years ago

api-Hypernova commented 7 years ago

Port the AC2 physics algorithms to the game for use until merging with Rival. May require some tuning.

api-Hypernova commented 6 years ago

Progress update: basic circle strafing algorithm is implemented, needs the correct formula to calculate centripetal force properly. Sprint and walk speeds have been balanced, as well as jump and crouch height. Fixed air control at low speeds, and jumping height with and without air friction. Air strafing still needs to be implemented, though the velocity calculations will rely on the centripetal force formula I'm still working on. Also todo: track turn rate by timer rather than physics frame (since this may be variable).