Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
Constraints API definition

Data Structures

class  Contact
 

Typedefs

typedef int[] dMaterial
 

Functions

proto native dJoint dJointCreateHinge (notnull IEntity ent1, notnull IEntity ent2, vector point1, vector axis1, vector point2, vector axis2, bool block, float breakThreshold)
 
proto native dJoint dJointCreateHinge2 (notnull IEntity ent1, notnull IEntity ent2, vector matrix1[4], vector matrix2[4], bool block, float breakThreshold)
 
proto native dJoint dJointCreateSlider (notnull IEntity ent1, notnull IEntity ent2, vector matrix1[4], vector matrix2[4], bool block, float breakThreshold)
 
proto native dJoint dJointCreateBallSocket (notnull IEntity ent1, notnull IEntity ent2, vector point1, vector point2, bool block, float breakThreshold)
 
proto native dJoint dJointCreateFixed (notnull IEntity ent1, notnull IEntity ent2, vector point1, vector point2, bool block, float breakThreshold)
 
proto native dJoint dJointCreateConeTwist (notnull IEntity ent1, notnull IEntity ent2, vector matrix1[4], vector matrix2[4], bool block, float breakThreshold)
 
proto native dJoint dJointCreate6DOF (notnull IEntity ent1, notnull IEntity ent2, vector matrix1[4], vector matrix2[4], bool block, float breakThreshold)
 
proto native dJoint dJointCreate6DOFSpring (notnull IEntity ent1, notnull IEntity ent2, vector matrix1[4], vector matrix2[4], bool block, float breakThreshold)
 
proto native void dJointDestroy (dJoint joint)
 
proto native void dJointHingeSetLimits (dJoint joint, float low, float high, float softness, float biasFactor, float relaxationFactor)
 
proto native void dJointHingeSetAxis (dJoint joint, vector axis)
 
proto native void dJointHingeSetMotorTargetAngle (dJoint joint, float angle, float dt, float maxImpulse)
 
proto native void dJointConeTwistSetAngularOnly (dJoint joint, bool angularOnly)
 
proto native void dJointConeTwistSetLimit (dJoint joint, int limitIndex, float limitValue)
 
proto native void dJointConeTwistSetLimits (dJoint joint, float _swingSpan1, float _swingSpan2, float _twistSpan, float _softness, float _biasFactor, float _relaxationFactor)
 
proto native void dJoint6DOFSetLinearLimits (dJoint joint, vector linearLower, vector linearUpper)
 
proto native void dJoint6DOFSetAngularLimits (dJoint joint, vector angularLower, vector angularUpper)
 
proto native void dJoint6DOFSetLimit (dJoint joint, int axis, float lo, float hi)
 
proto native void dJoint6DOFSpringSetSpring (dJoint joint, int axis, float stiffness, float damping)
 
proto native void dJointSliderSetLinearLimits (dJoint joint, float lowerLimit, float upperLimit)
 
proto native void dJointSliderSetAngularLimits (dJoint joint, float lowerLimit, float upperLimit)
 
proto native void dJointSliderSetDirLinear (dJoint joint, float softness, float restitution, float damping)
 
proto native void dJointSliderSetDirAngular (dJoint joint, float softness, float restitution, float damping)
 
proto native void dJointSliderSetLimLinear (dJoint joint, float softness, float restitution, float damping)
 
proto native void dJointSliderSetLimAngular (dJoint joint, float softness, float restitution, float damping)
 
proto native void dJointSliderSetOrthoLinear (dJoint joint, float softness, float restitution, float damping)
 
proto native void dJointSliderSetOrthoAngular (dJoint joint, float softness, float restitution, float damping)
 
proto native void dJointSliderSetLinearMotor (dJoint joint, float velocity, float force)
 
proto native void dJointSliderSetAngularMotor (dJoint joint, float velocity, float force)
 
proto native float dJointSliderGetLinearPos (dJoint joint)
 
proto native float dJointSliderGetAngularPos (dJoint joint)
 

Detailed Description

Typedef Documentation

◆ dMaterial

typedef int [] dMaterial

Definition at line 298 of file enphysics.c.

Function Documentation

◆ dJoint6DOFSetAngularLimits()

proto native void dJoint6DOFSetAngularLimits ( dJoint  joint,
vector  angularLower,
vector  angularUpper 
)

◆ dJoint6DOFSetLimit()

proto native void dJoint6DOFSetLimit ( dJoint  joint,
int  axis,
float  lo,
float  hi 
)

◆ dJoint6DOFSetLinearLimits()

proto native void dJoint6DOFSetLinearLimits ( dJoint  joint,
vector  linearLower,
vector  linearUpper 
)
  • free means upper < lower,
  • locked means upper == lower
  • limited means upper > lower
  • axis: first 3 are linear, next 3 are angular

◆ dJoint6DOFSpringSetSpring()

proto native void dJoint6DOFSpringSetSpring ( dJoint  joint,
int  axis,
float  stiffness,
float  damping 
)

◆ dJointConeTwistSetAngularOnly()

proto native void dJointConeTwistSetAngularOnly ( dJoint  joint,
bool  angularOnly 
)

◆ dJointConeTwistSetLimit()

proto native void dJointConeTwistSetLimit ( dJoint  joint,
int  limitIndex,
float  limitValue 
)

◆ dJointConeTwistSetLimits()

proto native void dJointConeTwistSetLimits ( dJoint  joint,
float  _swingSpan1,
float  _swingSpan2,
float  _twistSpan,
float  _softness,
float  _biasFactor,
float  _relaxationFactor 
)

◆ dJointCreate6DOF()

proto native dJoint dJointCreate6DOF ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  matrix1[4],
vector  matrix2[4],
bool  block,
float  breakThreshold 
)

◆ dJointCreate6DOFSpring()

proto native dJoint dJointCreate6DOFSpring ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  matrix1[4],
vector  matrix2[4],
bool  block,
float  breakThreshold 
)

◆ dJointCreateBallSocket()

proto native dJoint dJointCreateBallSocket ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  point1,
vector  point2,
bool  block,
float  breakThreshold 
)

◆ dJointCreateConeTwist()

proto native dJoint dJointCreateConeTwist ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  matrix1[4],
vector  matrix2[4],
bool  block,
float  breakThreshold 
)

◆ dJointCreateFixed()

proto native dJoint dJointCreateFixed ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  point1,
vector  point2,
bool  block,
float  breakThreshold 
)

◆ dJointCreateHinge()

proto native dJoint dJointCreateHinge ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  point1,
vector  axis1,
vector  point2,
vector  axis2,
bool  block,
float  breakThreshold 
)

◆ dJointCreateHinge2()

proto native dJoint dJointCreateHinge2 ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  matrix1[4],
vector  matrix2[4],
bool  block,
float  breakThreshold 
)

◆ dJointCreateSlider()

proto native dJoint dJointCreateSlider ( notnull IEntity  ent1,
notnull IEntity  ent2,
vector  matrix1[4],
vector  matrix2[4],
bool  block,
float  breakThreshold 
)

◆ dJointDestroy()

proto native void dJointDestroy ( dJoint  joint)

◆ dJointHingeSetAxis()

proto native void dJointHingeSetAxis ( dJoint  joint,
vector  axis 
)

◆ dJointHingeSetLimits()

proto native void dJointHingeSetLimits ( dJoint  joint,
float  low,
float  high,
float  softness,
float  biasFactor,
float  relaxationFactor 
)

◆ dJointHingeSetMotorTargetAngle()

proto native void dJointHingeSetMotorTargetAngle ( dJoint  joint,
float  angle,
float  dt,
float  maxImpulse 
)

◆ dJointSliderGetAngularPos()

proto native float dJointSliderGetAngularPos ( dJoint  joint)

◆ dJointSliderGetLinearPos()

proto native float dJointSliderGetLinearPos ( dJoint  joint)

◆ dJointSliderSetAngularLimits()

proto native void dJointSliderSetAngularLimits ( dJoint  joint,
float  lowerLimit,
float  upperLimit 
)

◆ dJointSliderSetAngularMotor()

proto native void dJointSliderSetAngularMotor ( dJoint  joint,
float  velocity,
float  force 
)

◆ dJointSliderSetDirAngular()

proto native void dJointSliderSetDirAngular ( dJoint  joint,
float  softness,
float  restitution,
float  damping 
)

◆ dJointSliderSetDirLinear()

proto native void dJointSliderSetDirLinear ( dJoint  joint,
float  softness,
float  restitution,
float  damping 
)

◆ dJointSliderSetLimAngular()

proto native void dJointSliderSetLimAngular ( dJoint  joint,
float  softness,
float  restitution,
float  damping 
)

◆ dJointSliderSetLimLinear()

proto native void dJointSliderSetLimLinear ( dJoint  joint,
float  softness,
float  restitution,
float  damping 
)

◆ dJointSliderSetLinearLimits()

proto native void dJointSliderSetLinearLimits ( dJoint  joint,
float  lowerLimit,
float  upperLimit 
)

◆ dJointSliderSetLinearMotor()

proto native void dJointSliderSetLinearMotor ( dJoint  joint,
float  velocity,
float  force 
)

◆ dJointSliderSetOrthoAngular()

proto native void dJointSliderSetOrthoAngular ( dJoint  joint,
float  softness,
float  restitution,
float  damping 
)

◆ dJointSliderSetOrthoLinear()

proto native void dJointSliderSetOrthoLinear ( dJoint  joint,
float  softness,
float  restitution,
float  damping 
)