Entity:GetPhysicsObject
Description
Returns the entity's physics object, if the entity has physics. Same as ent:GetPhysicsObjectNum( 0 )
Entities don't have clientside physics objects by default, so this will return
[NULL PHYSOBJ] on the client in most cases.Returns
Example
Gets the mass of an entity.
Garry's Mod
Rust
Steamworks
Wiki Help