DayZ 1.24
|
Topics | |
RigidBody API | |
Typedefs | |
typedef int[] | dGeom |
typedef int[] | dJoint |
typedef int[] | dBlock |
Functions | |
proto native int | dGetNumDynamicBodies (notnull IEntity worldEnt) |
proto native IEntity | dGetDynamicBody (notnull IEntity worldEnt, int index) |
proto native void | dSetInteractionLayer (notnull IEntity worldEntity, int mask1, int mask2, bool enable) |
proto native bool | dGetInteractionLayer (notnull IEntity worldEntity, int mask1, int mask2) |
proto native vector | dGetGravity (notnull IEntity worldEntity) |
Gets global gravity. | |
proto native void | dSetGravity (notnull IEntity worldEntity, vector g) |
Changes global gravity. | |
proto native void | dSetTimeSlice (notnull IEntity worldEntity, float timeSlice) |
Changes fixed time-slice. Default is 1/40, thus simulation runs on 40fps. With smaller values, there is more precise simulation. | |
Definition at line 8 of file EnPhysics.c.
Definition at line 6 of file EnPhysics.c.
Definition at line 7 of file EnPhysics.c.
Referenced by EntityAI::IsIgnoredObject().
proto native void dSetInteractionLayer | ( | notnull IEntity | worldEntity, |
int | mask1, | ||
int | mask2, | ||
bool | enable ) |