Garry's Mod Wiki

Garry's Mod Wiki

  PhysObj:SetMass( number mass )

Description

Sets the mass of the physics object.

This resets PhysObj:SetBuoyancyRatio (Recalculated based materials' and the physics objects' densities, latter of which is dependent on mass). This is a physics engine limitation.

Arguments

1 number mass
The mass in kilograms, in range [0, 50000]

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...