phys_keepupright
Jump to navigation
Jump to search
Code classes:
CKeepUpright
CPointEntity
CBaseEntity
(all ents)
phys_keepupright
is a point entity present in all Source games. It tries to rotate an object so that it sticks to this entity's Pitch Yaw Roll.
One is used in Half-Life 2 on d2_coast_01
to make the buggy hit the ground upside down after being dropped from the crane.
Flags[edit | edit source]
- 1: Start inactive
Keyvalue[edit | edit source]
- Target Entity
(attach1)
<target_destination>
- Entity to align.
- Angular Limit
(angularlimit)
<float>
- How much force this entity can put on the physics object. How much is needed to overcome gravity varies by object.
Inputs[edit | edit source]
- TurnOn
- Enables the entity.
- TurnOff
- Disabled the entity.
- SetAngularLimit (Not in FGD)
<float>
- Sets Angular Limit.