Documented all current functions

This commit is contained in:
n00b
2024-10-06 17:07:06 -04:00
parent 641c5c86ca
commit 62363b4b98
256 changed files with 543 additions and 186 deletions

View File

@@ -1,4 +1,17 @@
#title setActorMassProperties [RCBasic Doc]
#header sub setActorMassProperties( actor, mass, inertia_x, inertia_y, inertia_z)
Set the mass and local inertia of an actor. This is crucial for defining how the actor behaves under the influence of forces and torques, especially when it comes to simulating realistic motion and rotation.
Mass
#list ul
#li The mass of an actor defines how much it resists changes in its motion when forces are applied. A heavier object will require more force to accelerate or decelerate compared to a lighter object.
#/list
Inertial
#list ul
#li The local inertia is a vector that represents how the mass is distributed within the actor relative to its center of mass. It affects how the actor resists rotational forces (torques).
#li An object with a larger inertia value along a specific axis will rotate more slowly when a torque is applied in that direction, and vice versa.
#/list
#ref GetActorLocalInertia GetActorInverseMass