Template:HLA I BasePropPhysics
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.