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

27 lines
927 B
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: Rotate
type: class
memory_category: BaseParts
summary: ''
description: |
The **Rotate** object is used to allow rotation between two parts. Most
commonly created through the `Enum.SurfaceType.Hinge` on a `Class.BasePart`.
If created like this, the rotation will be about the normal vector from the
face of the part the hinge is placed on. If created through a script, the axis
and point of rotation can be defined arbitrarily.
code_samples: []
inherits:
- JointInstance
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: []