Skip to main content

Joint

Description:

  A class that can be used to connect physics bodies together.

Class Object: Joint Class.

Inherits from: Object.

world

Type: Readonly Field.

Description:

  The physics world that the joint belongs to.

Signature:

const world: PhysicsWorld

destroy

Type: Function.

Description:

  Destroys the joint and removes it from the physics simulation.

Signature:

destroy: function(self: Joint)