R3d.World:destroyJoint

From GiderosMobile
Revision as of 08:29, 18 December 2025 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2019.10
Class: R3d.World

Description

Destroys a joint.

r3d.World:destroyJoint(joint)

Parameters

joint: (b3d.Joint) the joint to destroy

Example

local fj = world:createFixedJoint(player1.body, obj01.body, -2, 0, 0, { isCollisionEnabled=true, } )
world:destroyJoint(fj)