|
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 |