Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
Param
ConeTwistJoint3D.swift:13enum 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
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A 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.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.