Data Structures | |
class | Physics |
class | SurfaceProperties |
class | Contact |
Typedefs | |
typedef int[] | dMaterial |
typedef int[] | Physics |
typedef int[] | SurfaceProperties |
Functions | |
void | PhysicsGeomDef (string name, dGeom geom, string materialName, int layerMask) |
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) |
protected void | Physics () |
protected void | ~Physics () |
proto int | GetNumBones () |
proto Physics | GetBone (int index) |
protected void | SurfaceProperties () |
protected void | ~SurfaceProperties () |
private void | Contact () |
private void | ~Contact () |
proto native vector | GetNormalImpulse () |
proto native float | GetRelativeVelocityBefore (vector vel) |
proto native float | GetRelativeVelocityAfter (vector vel) |
Variables | |
string | Name |
dGeom | Geometry |
vector | Frame [4] = {Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1), Vector(0, 0, 0)} |
int | ParentNode = -1 |
string | MaterialName |
int | LayerMask |
Physics | Physics1 |
Physics | Physics2 |
SurfaceProperties | Material1 |
Surface properties of Object1. | |
SurfaceProperties | Material2 |
Surface properties of Object2. | |
float | Impulse |
Impulse applied to resolve the collision. | |
int | ShapeIndex1 |
Index of collider on Object1. | |
int | ShapeIndex2 |
Index of collider on Object2. | |
vector | Normal |
Collision axis at the contact point. | |
vector | Position |
Position of the contact point (world space) | |
float | PenetrationDepth |
Penetration depth on Object1. | |
float | RelativeNormalVelocityBefore |
float | RelativeNormalVelocityAfter |
vector | RelativeVelocityBefore |
vector | RelativeVelocityAfter |
vector | VelocityBefore1 |
Velocity of Object1 before collision (world space) | |
vector | VelocityBefore2 |
Velocity of Object2 before collision (world space) | |
vector | VelocityAfter1 |
Velocity of Object1 after collision (world space) | |
vector | VelocityAfter2 |
Velocity of Object2 after collision (world space) | |
typedef int [] SurfaceProperties |
|
inlineprivate |
proto native void dJoint6DOFSetAngularLimits | ( | dJoint | joint, |
vector | angularLower, | ||
vector | angularUpper | ||
) |
proto native void dJoint6DOFSetLinearLimits | ( | dJoint | joint, |
vector | linearLower, | ||
vector | linearUpper | ||
) |
proto native void dJoint6DOFSpringSetSpring | ( | dJoint | joint, |
int | axis, | ||
float | stiffness, | ||
float | damping | ||
) |
proto native void dJointConeTwistSetLimits | ( | dJoint | joint, |
float | _swingSpan1, | ||
float | _swingSpan2, | ||
float | _twistSpan, | ||
float | _softness, | ||
float | _biasFactor, | ||
float | _relaxationFactor | ||
) |
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 dJoint dJointCreateBallSocket | ( | 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 dJointCreateFixed | ( | notnull IEntity | ent1, |
notnull IEntity | ent2, | ||
vector | point1, | ||
vector | point2, | ||
bool | block, | ||
float | breakThreshold | ||
) |
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 void dJointDestroy | ( | dJoint | joint | ) |
proto native void dJointHingeSetLimits | ( | dJoint | joint, |
float | low, | ||
float | high, | ||
float | softness, | ||
float | biasFactor, | ||
float | relaxationFactor | ||
) |
proto native void dJointHingeSetMotorTargetAngle | ( | dJoint | joint, |
float | angle, | ||
float | dt, | ||
float | maxImpulse | ||
) |
proto native void dJointSliderSetDirAngular | ( | dJoint | joint, |
float | softness, | ||
float | restitution, | ||
float | damping | ||
) |
proto native void dJointSliderSetDirLinear | ( | dJoint | joint, |
float | softness, | ||
float | restitution, | ||
float | damping | ||
) |
proto native void dJointSliderSetLimAngular | ( | dJoint | joint, |
float | softness, | ||
float | restitution, | ||
float | damping | ||
) |
proto native void dJointSliderSetLimLinear | ( | dJoint | joint, |
float | softness, | ||
float | restitution, | ||
float | damping | ||
) |
proto native void dJointSliderSetOrthoAngular | ( | dJoint | joint, |
float | softness, | ||
float | restitution, | ||
float | damping | ||
) |
proto native void dJointSliderSetOrthoLinear | ( | dJoint | joint, |
float | softness, | ||
float | restitution, | ||
float | damping | ||
) |
|
private |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
Referenced by PhysicsGeomDef::PhysicsGeomDef().
|
private |
Impulse applied to resolve the collision.
Referenced by Car::OnContact().
|
private |
Referenced by PhysicsGeomDef::PhysicsGeomDef().
|
private |
Surface properties of Object1.
|
private |
Surface properties of Object2.
|
private |
Referenced by PhysicsGeomDef::PhysicsGeomDef().
|
private |
Referenced by PhysicsGeomDef::PhysicsGeomDef().
|
private |
Collision axis at the contact point.
|
private |
|
private |
Penetration depth on Object1.
|
private |
|
private |
|
private |
Position of the contact point (world space)
Referenced by FireplaceBase::EOnContact(), EOnContact(), and EntityAI::GetImpactSurfaceTypeEx().
|
private |
|
private |
|
private |
|
private |
Referenced by EntityAI::GetImpactSurfaceTypeEx(), and EntityAI::ProcessImpactSoundEx().
|
private |
Index of collider on Object1.
|
private |
Index of collider on Object2.
|
private |
Velocity of Object1 after collision (world space)
|
private |
Velocity of Object2 after collision (world space)
|
private |
Velocity of Object1 before collision (world space)
|
private |
Velocity of Object2 before collision (world space)