Template:I BasePropPhysics

From Valve Developer Community
Revision as of 17:29, 23 January 2020 by Deprecated (talk | contribs) (Added to Input Templates category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Tell the prop to quit moving. Any physics forces (excluding gravity and water buoyancy) will cause the object to resume moving as usual. Sleeping also occurs automatically when the object has no physics forces to keep it awake, and when it is no longer moving a noticeable amount.
If the object was told to sleep, tell it to start moving again.
Tell the object to stop moving completely. No physics forces will re-enable motion, not even Wake.
If the object's motion has been disabled entirely, tell it to resume movement as usual. This will also Wake the object, if it is Sleeping.
If the object would normally float when in water, tell it to not float. There seems to be no way to re-enable floating behavior, but programming a method to do this should be fairly simple (CALLBACK_DO_FLUID_SIMULATION).