Garry's Mod Wiki

Garry's Mod Wiki

  Vector PhysObj:GetInertia()

Description

Returns the principal moments of inertia (Ixx, Iyy, Izz) of the physics object, in the local frame, with respect to the center of mass.

Returns

1 Vector angularInertia
The moment of inertia in kg * m^2
The unit conversion between meters and source units in this case is 1 meter ≈ 39.37 source units (100/2.54 exactly)
This value changes proportionally to the physics object's mass (e.g. making the object twice as heavy will result in it having twice the angular inertia)

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...