Method b3World_SetGravity
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3World_SetGravity(b3WorldId, Vector3)
Set the gravity vector for the entire world. Box3D has no concept of an up direction and this is left as a decision for the application. Usually in m/s^2.
public static extern void b3World_SetGravity(b3WorldId worldId, Vector3 gravity)Parameters
Remarks
See b3WorldDef @see b3WorldDef