Skip to content

Fixed Physics Timestep, Bug Fixes & Additions

Latest
Compare
Choose a tag to compare
@jaipack17 jaipack17 released this 29 Mar 06:11
· 1 commit to master since this release
  • Added Runner.lua in src/Physics
  • The physics stepping rate has been set to 60hz. No matter the frame rate, the physics will still be calculated at 60 calculations per second. This can be turned off (if required) using already implemented methods like Engine:FrameRateIndependent(). This fixes issues with fps unlockers and provides stable simulations at higher frame rates. Fixes issue #37
  • Fixed MouseConstraint bug where lifting your mouse button would destroy the rigid body that was held.
  • MouseConstraint now returns a callback which can be called to disconnect all events connected when Plugin.MouseConstraint() was ran.
  • Added new methods to Points
    • Point:GetNetForce() - Returns the net force acting on the point.
  • Updated documentation for the previous and current versions.
  • Added Plugins to the API documentation - https://jaipack17.github.io/Nature2D/docs/api/Plugins