Private Member Functions | |
| proto external void | Destroy () |
| Destroys joint. | |
| proto external void | Destroy () |
| Destroys joint. | |
Static Private Member Functions | |
| static proto PhysicsHingeJoint | CreateHinge (notnull IEntity ent1, IEntity ent2, vector point1, vector axis1, vector point2, vector axis2, bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsHingeJoint | CreateHinge2 (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsBallSocketJoint | CreateBallSocket (notnull IEntity ent1, IEntity ent2, vector point1, vector point2, bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsFixedJoint | CreateFixed (notnull IEntity ent1, IEntity ent2, vector point1, vector point2, bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsConeTwistJoint | CreateConeTwist (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsSliderJoint | CreateSlider (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto Physics6DOFJoint | Create6DOF (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto Physics6DOFSpringJoint | Create6DOFSpring (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsHingeJoint | CreateHinge (notnull IEntity ent1, IEntity ent2, vector point1, vector axis1, vector point2, vector axis2, bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsHingeJoint | CreateHinge2 (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsBallSocketJoint | CreateBallSocket (notnull IEntity ent1, IEntity ent2, vector point1, vector point2, bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsFixedJoint | CreateFixed (notnull IEntity ent1, IEntity ent2, vector point1, vector point2, bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsConeTwistJoint | CreateConeTwist (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto PhysicsSliderJoint | CreateSlider (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto Physics6DOFJoint | Create6DOF (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
| static proto Physics6DOFSpringJoint | Create6DOFSpring (notnull IEntity ent1, IEntity ent2, vector matrix1[4], vector matrix2[4], bool disableCollisions, float breakThreshold=-1) |
|
staticprivate |
Creates 6 DOF joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 |
| matrix2 | Joint transformation in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates 6 DOF joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 |
| matrix2 | Joint transformation in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates DOF spring joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 |
| matrix2 | Joint transformation in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates DOF spring joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 |
| matrix2 | Joint transformation in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates ball socket joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| point1 | Joint position in reference frame of ent1 |
| point2 | Joint position in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates ball socket joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| point1 | Joint position in reference frame of ent1 |
| point2 | Joint position in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates cone twist joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 (twist is x-axis, swings are z and y axes) |
| matrix2 | Joint transformation in reference frame of ent2 (twist is x-axis, swings are z and y axes) |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates cone twist joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 (twist is x-axis, swings are z and y axes) |
| matrix2 | Joint transformation in reference frame of ent2 (twist is x-axis, swings are z and y axes) |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates fixed joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| point1 | Joint position in reference frame of ent1 |
| point2 | Joint position in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates fixed joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| point1 | Joint position in reference frame of ent1 |
| point2 | Joint position in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates hinge joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| point1 | Joint position in reference frame of ent1 |
| axis1 | Joint axis in reference frame of ent1 |
| point2 | Joint position in reference frame of ent2 |
| axis2 | Joint axis in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates hinge joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| point1 | Joint position in reference frame of ent1 |
| axis1 | Joint axis in reference frame of ent1 |
| point2 | Joint position in reference frame of ent2 |
| axis2 | Joint axis in reference frame of ent2 |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates hinge joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 (hinge is z-axis) |
| matrix2 | Joint transformation in reference frame of ent2 (hinge is z-axis) |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates hinge joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 (hinge is z-axis) |
| matrix2 | Joint transformation in reference frame of ent2 (hinge is z-axis) |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates slider joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 (slide is x-axis) |
| matrix2 | Joint transformation in reference frame of ent2 (slide is x-axis) |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
staticprivate |
Creates slider joint. Entities must be dynamic objects. Using only ent1 anchors it to the world.
| ent1 | Entity that will be part of the joint, mandatory |
| ent2 | Other entity that will be part of the joint, optional |
| matrix1 | Joint transformation in reference frame of ent1 (slide is x-axis) |
| matrix2 | Joint transformation in reference frame of ent2 (slide is x-axis) |
| disableCollisions | True to disable collisions between connected entities |
| breakThreshold | Maximum impulse to break the joint. Use -1 for unbreakable joint |
|
private |
Destroys joint.
|
private |
Destroys joint.