Phys keepupright: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 7: | Line 7: | ||
==Keyvalues== | ==Keyvalues== | ||
*{{kv targetname}} | *{{kv targetname}} | ||
*{{ | *{{KV Angles}} The direction to try to keep the constrained entity faced at. | ||
*'''attach1''' <target_destination> | *'''attach1''' <target_destination> | ||
:The entity to align to the desired angles. (Wildcards are ''not'' allowed.) | :The entity to align to the desired angles. (Wildcards are ''not'' allowed.) |
Revision as of 19:42, 19 January 2009
Template:Wrongtitle Template:Base point
Entity Description
A controller that tries to keep an entity facing a particular direction.
Keyvalues
- 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. The direction to try to keep the constrained entity faced at.
- attach1 <target_destination>
- The entity to align to the desired angles. (Wildcards are not allowed.)
- angularlimit <float>
- The maximum angular velocity that this controller can compensate for, in degrees per second.
Flags
- 1: Start inactive
Inputs
- TurnOn
- Enable the controller.
- TurnOff
- Disable the controller.