Param

    ConeTwistJoint3D.swift:13
    enum Param

    Cases

    • case swingSpan

      Swing is rotation from side to side, around the axis perpendicular to the twist axis.

    • case twistSpan

      Twist is the rotation around the twist axis, this value defined how far the joint can twist.

    • case bias

      The speed with which the swing or twist will take place.

    • case softness

      The ease with which the joint starts to twist. If it’s too low, it takes more force to start twisting the joint.

    • case relaxation

      Defines, how fast the swing- and twist-speed-difference on both sides gets synced.

    • case max

      Represents the size of the Param enum.

    Other members in extension

    Type members

    Instance members

    • var bias: Double

      The speed with which the swing or twist will take place.

    • var relaxation: Double

      Defines, how fast the swing- and twist-speed-difference on both sides gets synced.

    • var softness: Double

      The ease with which the joint starts to twist. If it’s too low, it takes more force to start twisting the joint.

    • var swingSpan: Double

      Swing is rotation from side to side, around the axis perpendicular to the twist axis.

    • var twistSpan: Double

      Twist is the rotation around the twist axis, this value defined how far the joint can twist.

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features