Garry's Mod Wiki

Entity:RemoveFromMotionController

  Entity:RemoveFromMotionController( PhysObj physObj )

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.

Only works on a scripted Entity of anim type

Arguments

1 PhysObj physObj
The PhysObj to remove from the motion controller.