BodyGyro
Uses torque to rotate an object toward and maintain a specified CFrame orientation.
Properties
| Property | Type | Default |
|---|---|---|
Part | any | nil |
P | number | 500 |
D | number | 50 |
MaxTorque | Vector3 | Vector3.new(10000, 0, 10000) |
CFrame | CFrame | CFrame.new() |
Enabled | boolean | true |
Name | string | "BodyGyro" |
Functions
shouldApplyPhysics
Arguments
partReturns
This function returns nothing.
clamp
Arguments
v, lo, hiReturns
This function returns nothing.
API
instance:shouldApplyPhysics(part)
instance:clamp(v, lo, hi)