Garry's Mod Wiki


Entity:MakePhysicsObjectAShadow( boolean allowPhysicsMovement, boolean allowPhysicsRotation )


Turns the Entity:GetPhysicsObject into a physics shadow. It's used internally for the Player's and NPC's physics object, and certain HL2 entities such as the crane.

A physics shadow can be used to have static entities that never move by setting both arguments to false.

Unlike Entity:PhysicsInitShadow, this function doesn't remove the current physics object.


1 boolean allowPhysicsMovement
Whether to allow the physics shadow to move under stress.
2 boolean allowPhysicsRotation
Whether to allow the physics shadow to rotate under stress.

Page Links

Special Pages



Render Time: 24ms

DB GetPage 3
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 5