Phys keepupright: Difference between revisions
Jump to navigation
Jump to search
(Cleanup) |
m (Added it to [[Category:Constraints] because it's a VPhysics constraint.) |
||
Line 17: | Line 17: | ||
== Outputs == | == Outputs == | ||
{{O Targetname}} | {{O Targetname}} | ||
[[Category:Constraints|C]] |
Revision as of 10:19, 22 March 2012
Template:Base point It is a controller that tries to keep an entity facing a particular direction.
Keyvalues
- Target Entity ([todo internal name (i)]) <targetname>
- The entity to align to the desired angles.
- Angular Limit ([todo internal name (i)]) <float>
- The maximum angular velocity that this controller can compensate for, in degrees per second.
- Name (targetname) <string>[ Edit ]
- 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
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
- 1 : Start inactive
Inputs
- TurnOn
- Enable the controller.
- TurnOff
- Disable the controller.