Class
BodyAngularVelocity
Deprecated
Applies a torque to maintain a constant angular velocity.
Deprecated. This object is deprecated and should not be used for new work. Use
AngularVelocity instead, and see the
legacy conversion notes.
The BodyAngularVelocity object applies a torque (rotational force) on an
assembly such that it maintains a constant angular velocity as determined by
its AngularVelocity property. This
allows for the creation of assemblies that continually rotate. It is the
rotational counterpart to a BodyVelocity. If you would like to
maintain a constant angular displacement, use a BodyGyro instead.
Properties 5#
AngularVelocityVector3 | Determines the axis of rotation (direction) and the rotational velocity (magnitude) in radians/s.ReadSafe |
angularvelocityVector3 | ReadSafeDeprecatedNotReplicated |
MaxTorqueVector3 | Determines the limit of torque that may be exerted on each world axis.ReadSafe |
maxTorqueVector3 | Determines how much force can be applied to each axis.ReadSafeDeprecatedNotReplicated |
Pfloat | Determines how aggressive of a torque is applied in reaching the goal angular velocity.ReadSafe |
AngularVelocity: Vector3#
ReadSafe
This property is a Vector3 which determines the goal angular
velocity a BodyAngularVelocity should maintain through the
exertion of torque. For this property, the direction of the vector is the
axis of rotation. The magnitude is the angular velocity in radians per
second.
You can multiply a Vector3 by Library.math.rad(360), or 2π,
in order to convert angular frequency (rotations per second) into the
desired angular velocity (radians per second).
angularvelocity: Vector3#
NotReplicatedDeprecatedReadSafeDeprecated
Deprecated. This deprecated property is a variant of
BodyAngularVelocity.AngularVelocity which should be used instead.
MaxTorque: Vector3#
ReadSafe
maxTorque: Vector3#
NotReplicatedDeprecatedReadSafeDeprecated
Deprecated. This deprecated property is a variant of
BodyAngularVelocity.MaxTorque which should be used instead.
The maxTorque property is a deprecated variant of
BodyAngularVelocity.MaxTorque that lets you set how much force
could be applied to each axis.
P: float#
ReadSafe
This property determines how much power is used while applying torque in
order to reach the goal
AngularVelocity. The higher
this value, the more power will be used and the faster it will be used.
Inherited members#
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