Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
Constraints API definition

Classes

class  Physics
 
class  SurfaceProperties
 
class  Contact
 

Typedefs

typedef int[] dMaterial
 
typedef int[] Physics
 
typedef int[] SurfaceProperties
 

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)
 
void Physics::Physics ()
 
void Physics::~Physics ()
 
proto int Physics::GetNumBones ()
 
proto Physics Physics::GetBone (int index)
 
void SurfaceProperties::SurfaceProperties ()
 
void SurfaceProperties::~SurfaceProperties ()
 

Detailed Description

Typedef Documentation

◆ dMaterial

typedef int [] dMaterial

Definition at line 302 of file enphysics.c.

◆ Physics

typedef int [] Physics

Definition at line 304 of file enphysics.c.

◆ SurfaceProperties

typedef int [] SurfaceProperties

Definition at line 317 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 )

◆ GetBone()

proto Physics Physics::GetBone ( int index)
protected

◆ GetNumBones()

proto int Physics::GetNumBones ( )
protected

◆ Physics()

void Physics::Physics ( )
protected

Definition at line 307 of file enphysics.c.

◆ SurfaceProperties()

void SurfaceProperties::SurfaceProperties ( )
protected

Definition at line 320 of file enphysics.c.

◆ ~Physics()

void Physics::~Physics ( )
protected

Definition at line 308 of file enphysics.c.

◆ ~SurfaceProperties()

void SurfaceProperties::~SurfaceProperties ( )
protected

Definition at line 321 of file enphysics.c.