GBX.lua.BodyGyro (Object): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Class reference}} The BodyGyro object acts like a real gyroscope, it attempts to keep a fixed orientation of it's parent relative to the BodyGyro's cframe. You can ch...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Class reference}} | {{CatUp|Class reference}} | ||
The BodyGyro object acts like a real gyroscope, it attempts to keep a fixed orientation of it's parent relative to the BodyGyro's cframe. You can change the cframe to look at a certain spot, or track a player or object, making for a very cool looking cannon. | |||
==Functions== | ==Functions== | ||
The BodyGyro only incorporates the global functions. | The BodyGyro only incorporates the global functions. | ||
Line 7: | Line 7: | ||
==Properties== | ==Properties== | ||
In addition to the global properties, the BodyGyro also has these properties: | In addition to the global properties, the BodyGyro also has these properties: | ||
*[[D]] | *[[D (Property)|D]] | ||
*[[P]] | *[[P (Property)|P]] | ||
*[[Goal cframe (Property)|cframe]] | *[[Goal cframe (Property)|cframe]] | ||
*[[MaxTorque|maxTorque]] | *[[MaxTorque (Property)|maxTorque]] | ||
==Events== | ==Events== |
Latest revision as of 03:11, 24 September 2021
The BodyGyro object acts like a real gyroscope, it attempts to keep a fixed orientation of it's parent relative to the BodyGyro's cframe. You can change the cframe to look at a certain spot, or track a player or object, making for a very cool looking cannon.
Functions
The BodyGyro only incorporates the global functions.
Properties
In addition to the global properties, the BodyGyro also has these properties:
Events
The BodyGyro only incorporates the global events.