phys_keepupright
Jump to navigation
Jump to search
phys_keepupright
is a point entity available in all Source 2 games. It is a controller that tries to keep an entity facing a particular direction.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Target Entity (attach1) <targetname>
- The entity to align to the desired angles.
- Angular Limit (angularlimit) <float>
- The maximum angular velocity that this controller can compensate for, in degrees per second.
- Damp all rotation (dampAllRotation) <boolean>
- Forces the upright behavior to have perfect damping, instead of progressively damping.
Flags
Start inactive : [1]
Inputs
- TurnOn
- Enable the controller.
- TurnOff
- Disable the controller.