Physics confusion: _integrate_forces(state) and add_force, relative or global?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mbzdkc

Hey everybody,

I am a bit confused about how to use _integrate_forces(state) and add_force.

Are the force and position values for add_force() in local space, relative to the rigid-body? In other words if I apply a force (1,0,0) at position (0,0,0), will the rigid-body move to its relative right? And if I add a force (1,0,0) at (0,0,1), will the body then turn counter clock-wise?

Any ideas?

Physica stuff is always in global coordinates.

2D||!2D | 2018-08-13 00:14