Method b3Body_ApplyForceToCenter
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Body_ApplyForceToCenter(b3BodyId, Vector3, NativeBool)
Apply a force to the center of mass. This optionally wakes up the body. The force is ignored if the body is not awake.
public static extern void b3Body_ApplyForceToCenter(b3BodyId bodyId, Vector3 force, NativeBool wake)Parameters
bodyIdb3BodyId-
The body id
forceVector3-
the world force vector, usually in newtons (N).
wakeNativeBool-
also wake up the body