Entity:RemoveFromMotionController

From Garry's Mod
Jump to: navigation, search
 Entity:RemoveFromMotionController( )

Description

Removes a PhysObject from the entity's motion controller so that ENTITY:PhysicsSimulate will no longer be called for given PhysObject.

You must first create a motion controller with Entity:StartMotionController.

NOTE Only works on a scripted Entity of anim type

Arguments

PhysObj physObj

The PhysObj to remove from the motion controller.
Personal tools
Navigation