Roblox UtilitiesDevlHub Roblox Documentation

Class

BodyAngularVelocity

Deprecated
Inherits
BodyMover › Instance › Object
Memory category
Instances

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#

AngularVelocityVector3Determines the axis of rotation (direction) and the rotational velocity (magnitude) in radians/s.ReadSafe
angularvelocityVector3ReadSafeDeprecatedNotReplicated
MaxTorqueVector3Determines the limit of torque that may be exerted on each world axis.ReadSafe
maxTorqueVector3Determines how much force can be applied to each axis.ReadSafeDeprecatedNotReplicated
PfloatDetermines 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

This property determines the limit of the torque that may be exerted on each world axis. If an assembly isn't moving, consider raising this value and also check that it is not Anchored or attached to another anchored assembly). See also P (power).

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
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed