Garry's Mod Wiki

PhysObj:GetInvMass

  number PhysObj:GetInvMass()

Description

Returns 1 divided by the physics object's mass (in kilograms).

Returns

1 number
The inverted mass.
Returns 0 on frozen physics objects.