Param
ConeTwistJoint3D.swift:19enum Paramenum Paramimport SwiftGodotFramework to write Godot Game Extensions using the Swift Programming Language.
class ConeTwistJoint3DA physics joint that connects two 3D physics bodies in a way that simulates a ball-and-socket joint.
case swingSpanSwing is rotation from side to side, around the axis perpendicular to the twist axis.
case twistSpanTwist is the rotation around the twist axis, this value defined how far the joint can twist.
case biasThe speed with which the swing or twist will take place.
case softnessThe ease with which the joint starts to twist. If it’s too low, it takes more force to start twisting the joint.
case relaxationDefines, how fast the swing- and twist-speed-difference on both sides gets synced.
case maxRepresents the size of the Param enum.
override class var godotClassName: StringName { get }final var bias: Double { get set }The speed with which the swing or twist will take place.
final var relaxation: Double { get set }Defines, how fast the swing- and twist-speed-difference on both sides gets synced.
final var softness: Double { get set }The ease with which the joint starts to twist. If it’s too low, it takes more force to start twisting the joint.
final var swingSpan: Double { get set }Swing is rotation from side to side, around the axis perpendicular to the twist axis.
final var twistSpan: Double { get set }Twist is the rotation around the twist axis, this value defined how far the joint can twist.
protocol CaseIterableA type that provides a collection of all of its values.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
init?(rawValue: Int64) var debugDescription: String { get }A textual representation of this instance, suitable for debugging
var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)