Template:I BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (can tell it to mark all inputs as !FGD.)
(Replaced content with "{{note|Page left for viewable history, content moved to prop_physics}}")
Tag: Replaced
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{lang|{{FULLPAGENAME}}}}
{{note|Page left for viewable history, content moved to [[prop_physics]]}}
* {{param|nohl2}} — If nonzero, hides {{ent|weapon_physcannon}}-related inputs.
* {{param|nofgd}} — If nonzero, marks all inputs as !FGD.}}
<onlyinclude>{{minititle|BasePropPhysics}}
{{IO|Sleep|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.|nofgd={{{nofgd|}}}}}
{{IO|Wake|If the object was told to sleep, tell it to start moving again.|nofgd={{{nofgd|}}}}}
{{IO|DisableMotion|Tell the object to stop moving completely. No physics forces will re-enable motion, not even <code>Wake</code>.|nofgd={{{nofgd|}}}}}
{{IO|EnableMotion|If the object's motion has been disabled entirely, tell it to resume movement as usual. This will also <code>Wake</code> the object, if it is <code>Sleep</code>ing.|nofgd={{{nofgd|}}}}}
{{IO|DisableFloating|If the object would normally float when in water, tell it not to float. There seems to be no way to re-enable floating behavior, but programming a method to do this should be fairly simple (<code>CALLBACK_DO_FLUID_SIMULATION</code>).|nofgd={{{nofgd|}}}}}</onlyinclude>[[Category:Input Templates|BasePropPhysics]]

Latest revision as of 07:56, 2 July 2024

Note.pngNote:Page left for viewable history, content moved to prop_physics