Documents say that forces are automatically cleared each physics step, but there doesn't seem to be code doing it. For example, I checked the references of reset_forces() using vscode rust-analyzer, and there is no usage within rapier code base. I also checked the reference of Rigidbody.forces and RigidbodyForces.user_force and there doesn't seem to be any place where they are cleared except reset_forces.
I wonder if this is an error of the documents or the code.
Documents say that forces are automatically cleared each physics step, but there doesn't seem to be code doing it. For example, I checked the references of
reset_forces()using vscode rust-analyzer, and there is no usage within rapier code base. I also checked the reference ofRigidbody.forcesandRigidbodyForces.user_forceand there doesn't seem to be any place where they are cleared exceptreset_forces.I wonder if this is an error of the documents or the code.