rojo/.cursor/rules/roblox/reference/engine/classes/BodyMover.yaml
2026-02-02 12:08:47 -06:00

47 lines
1.7 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: BodyMover
type: class
memory_category: Instances
summary: |
Base class for objects that continually exert forces to assemblies.
description: |
`BodyMover` is the abstract base class for the set of legacy objects that
exert forces to assemblies in different ways. In general, the subclasses of
`BodyMover` are:
- `Class.BodyForce` exerts a force relative to world coordinates.
- `Class.BodyPosition` exerts force to maintain a certain world position.
- `Class.BodyVelocity` exerts force to maintain a certain velocity.
- `Class.BodyThrust` exerts a force relative to object coordinates which
applies torque if positioned in a certain way.
- `Class.BodyGyro` exerts torque to maintain a certain orientation.
- `Class.BodyAngularVelocity` exerts torque to maintain a certain angular
velocity.
- `Class.RocketPropulsion` exerts both translational and rotational forces to
cause an assembly to track down another.
code_samples: []
inherits:
- Instance
descendants:
- BodyAngularVelocity
- BodyForce
- BodyGyro
- BodyPosition
- BodyThrust
- BodyVelocity
- RocketPropulsion
tags:
- NotCreatable
- Deprecated
deprecation_message: |
This class has been deprecated. See the
[mover constraints](../../../physics/mover-constraints.md) article for an
overview of `Class.BodyMover` replacements, as well as the
[legacy conversion notes](../../../physics/mover-constraints.md#legacy-mover-conversion).
properties: []
methods: []
events: []
callbacks: []