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

39 lines
1.4 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: RotateV
type: class
memory_category: BaseParts
summary: ''
description: |
A **RotateV** object joins two parts together and allows rotation about a set
axis. This object is most commonly created by the `Enum.SurfaceType.Motor` on
a `Class.BasePart`. If created through a script, behavior is still governed by
the surface input of `Class.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 the ParamB property of
`Class.JointInstance.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 the `ParamA` and `ParamB`
properties of `Class.JointInstance.Part0`.
code_samples: []
inherits:
- DynamicRotate
descendants: []
tags:
- Deprecated
deprecation_message: |
This class works alongside the deprecated `Enum.SurfaceType` and should not be
used for future work; use `Class.HingeConstraint` instead.
properties: []
methods: []
events: []
callbacks: []