Template:HLA I BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{minititle|HLA BasePropPhysics}} {{IO|Wake|Wake up this physics object, if it is sleeping.}} {{IO|Sleep|Put this physics object to sleep. It will wake if given the Wake input...")
 
m (→‎top: Substituted IO templates)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{minititle|HLA BasePropPhysics}}
{{minititle|HLA BasePropPhysics}}
{{IO|Wake|Wake up this physics object, if it is sleeping.}}
{{I|Wake|Wake up this physics object, if it is sleeping.}}
{{IO|Sleep|Put this physics object to sleep. It will wake if given the Wake input, or if force is applied to it. Note that physics objects go to sleep automatically after coming to rest for a while, so you don't really need to use this.}}
{{I|Sleep|Put this physics object to sleep. It will wake if given the Wake input, or if force is applied to it. Note that physics objects go to sleep automatically after coming to rest for a while, so you don't really need to use this.}}
{{IO|EnableMotion|Enable physics motion/collision response.}}
{{I|EnableMotion|Enable physics motion/collision response.}}
{{IO|DisableMotion|Disable physics motion/collision response.}}
{{I|DisableMotion|Disable physics motion/collision response.}}
{{IO|EnablePickup|Enable player pickup of this prop.}}
{{I|EnablePickup|Enable player pickup of this prop.}}
{{IO|DisablePickup|Disable player pickup of this prop.}}
{{I|DisablePickup|Disable player pickup of this prop.}}
{{IO|DisableFloating|Disable fluid/floating simulation to reduce cost.}}
{{I|DisableFloating|Disable fluid/floating simulation to reduce cost.}}
{{IO|SetBodyGroup|param=string|Sets bodygroup. Format is <BodygroupName,index>}}
{{I|SetBodyGroup|param=string|Sets bodygroup. Format is <BodygroupName,index>}}
{{IO|physdamagescale|param=float|Set the Physics Impact Damage Scale for this character. NOTE: 0 means this feature is disabled for backwards compatibility.}}
{{I|physdamagescale|param=float|Set the Physics Impact Damage Scale for this character. NOTE: 0 means this feature is disabled for backwards compatibility.}}
{{IO|EnableDamageForces|Damaging the entity applies physics forces to it.}}
{{I|EnableDamageForces|Damaging the entity applies physics forces to it.}}
{{IO|DisableDamageForces|Damaging the entity does *not* apply physics forces to it.}}
{{I|DisableDamageForces|Damaging the entity does *not* apply physics forces to it.}}
{{IO|EnablePuntSound|Allow this prop to play its own sound when punted.}}
{{I|EnablePuntSound|Allow this prop to play its own sound when punted.}}
{{IO|DisablePuntSound|Prevent this prop from playing its own sound when punted.}}
{{I|DisablePuntSound|Prevent this prop from playing its own sound when punted.}}
{{IO|SetAutoConvertBackFromDebris|param=boolean|Set whether or not this prop should automatically convert back to interactive debris after it comes to rest as debris.}}
{{I|SetAutoConvertBackFromDebris|param=boolean|Set whether or not this prop should automatically convert back to interactive debris after it comes to rest as debris.}}
{{IO|AddAttribute|param=string|Add an attribute with a value of 1.}}
{{I|AddAttribute|param=string|Add an attribute with a value of 1.}}
{{IO|RemoveAttribute|param=string|Remove an attribute.}}<noinclude>
{{I|RemoveAttribute|param=string|Remove an attribute.}}

Latest revision as of 13:16, 21 April 2025

HLA BasePropPhysics:

Wake
Wake up this physics object, if it is sleeping.
Sleep
Put this physics object to sleep. It will wake if given the Wake input, or if force is applied to it. Note that physics objects go to sleep automatically after coming to rest for a while, so you don't really need to use this.
EnableMotion
Enable physics motion/collision response.
DisableMotion
Disable physics motion/collision response.
EnablePickup
Enable player pickup of this prop.
DisablePickup
Disable player pickup of this prop.
DisableFloating
Disable fluid/floating simulation to reduce cost.
SetBodyGroup <string>
Sets bodygroup. Format is <BodygroupName,index>
physdamagescale <float>
Set the Physics Impact Damage Scale for this character. NOTE: 0 means this feature is disabled for backwards compatibility.
EnableDamageForces
Damaging the entity applies physics forces to it.
DisableDamageForces
Damaging the entity does *not* apply physics forces to it.
EnablePuntSound
Allow this prop to play its own sound when punted.
DisablePuntSound
Prevent this prop from playing its own sound when punted.
SetAutoConvertBackFromDebris <boolean>
Set whether or not this prop should automatically convert back to interactive debris after it comes to rest as debris.
AddAttribute <string>
Add an attribute with a value of 1.
RemoveAttribute <string>
Remove an attribute.