Class
BodyForce
Deprecated
Applies a constant force to an object.
Deprecated. This object is deprecated and should not be used for new work. Use
VectorForce instead, and see the
legacy conversion notes.
The BodyForce object applies (or exerts) a force on the assembly to which it
is parented. If the magnitude of such a force is great enough, assemblies can
begin to accelerate. The force is determined by the
Force property, and is defined on the three world
axes.
A BodyForce alone cannot apply a torque (it cannot cause the parent to
rotate on its own). To apply a force at a specific point or apply forces
relative to the orientation of the assembly, use a BodyThrust instead.
Properties 2#
ForceVector3 | Determines the force exerted on each axis.ReadSafe |
forceVector3 | Determines the amount of force applied on each axis.ReadSafeDeprecatedNotReplicated |
Force: Vector3#
ReadSafe
This property determines the magnitude of force exerted on each axis, relative to the world.
force: Vector3#
NotReplicatedDeprecatedReadSafeDeprecated
Deprecated. This deprecated property is a variant of BodyForce.Force which
should be used instead.
A deprecated variant of BodyForce.Force that indicates the amount
of force applied on each axis.
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