Class SphericalJoint
Physics joint that removes all translational degrees of freedom but allows all rotational degrees of freedom. Essentially this ensures that the anchor points of the two bodies are always coincident. Bodies are allowed to rotate around the anchor points, and their rotation can be limited by an elliptical cone.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorContextMenu("New/Physics/Joints/Spherical Joint")]
[ActorToolbox("Physics")]
[Unmanaged]
public class SphericalJoint : Joint, ISerializable
Constructors
SphericalJoint()
Properties
Flags
Gets or sets the joint mode flags. Controls joint behaviour.
Declaration
[EditorOrder(100)]
[EditorDisplay("Joint", null)]
[Unmanaged]
public SphericalJointFlag Flags { get; set; }
Property Value
SphericalJointFlag
|
Limit
Gets or sets the joint limit properties.
Declaration
[EditorOrder(110)]
[EditorDisplay("Joint", null)]
[Unmanaged]
public LimitConeRange Limit { get; set; }
Property Value
LimitConeRange
|
Remarks
Determines the limit of the joint. Limit constrains the motion to the specified angle range. You must enable the limit flag on the joint in order for this to be recognized.