jointCreate

    Creates a 2D joint in the physics server, and returns the RID that identifies it. To set the joint type, use jointMakeDampedSpring(joint:anchorA:anchorB:bodyA:bodyB:), jointMakeGroove(joint:groove1A:groove2A:anchorB:bodyA:bodyB:) or jointMakePin(joint:anchor:bodyA:bodyB:). Use jointSetParam(joint:param:value:) to set generic joint parameters.

    PhysicsServer2D.swift:3847
    static func jointCreate() -> RID

    Other members in extension

    Types

    Type members