jrouwe / JoltPhysics

A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West.
MIT License
6.71k stars 447 forks source link

Slightly incorrect documentation #978

Closed sbvoxel closed 7 months ago

sbvoxel commented 7 months ago

Hey, thanks for making a great physics engine that I can learn from, and potentially use if I give up on my own code. Knowing how these systems work is a rather important prerequisite to using them well.

In Body.h you document that calls like AddForce will be reset after the next call to "PhysicsSimulation::Update". Also mentioned in MotionProperties.h

I believe you meant PhysicsSystem::Update.

Cheers.

jrouwe commented 7 months ago

Yes, you're right. Thanks for reporting!