Class
RotateP
Deprecated
Deprecated. This class works alongside the deprecated SurfaceType and should not be
used for future work; use HingeConstraint instead.
A RotateP object joins two parts together and allows rotation about a set
axis. The joint will attempt to rotate the two parts until a desired
rotational position is reached. This object is most commonly created by the
SurfaceType.SteppingMotor on a BasePart. If created through a
script, behavior is still governed by the surface input of
JointInstance.Part0.
The three inputs of note are as follows:
NoInput— The joint will not rotate under its own power. It can still be rotated by external forces (such as from a character pushing one of the parts).Constant— The joint will rotate based on theParamBproperty ofJointInstance.Part0. This rotation is measured in radians per physics frame (which is approximately 1/60th of a second).Sin— The joint will rotate based on theParamAandParamBproperties ofJointInstance.Part0.
Inherited members#
Inherited from DynamicRotate 1
Properties (1)
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild