Phys keepupright: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed non-existant icon, provided details for ''angles'' and ''attach1''.)
Line 1: Line 1:
{{wrongtitle|title=phys_keepupright}}
{{wrongtitle|title=phys_keepupright}}
==Entity Description==
==Entity Description==
[[Image:{{PAGENAME}}.png|left]]A controller that tries to keep an entity facing a particular direction.{{clr}}
A controller that tries to keep an entity facing a particular direction.


==Keyvalues==
==Keyvalues==
*{{kv targetname}}
*{{kv targetname}}
*{{kv angles}}
*{{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.
:The entity to align to the desired angles. (Wildcards are ''not'' allowed.)
*'''angularlimit''' <float>  
*'''angularlimit''' <float>  
:The maximum angular velocity that this controller can compensate for, in degrees per second.
:The maximum angular velocity that this controller can compensate for, in degrees per second.

Revision as of 17:18, 21 October 2006

Template:Wrongtitle

Entity Description

A controller that tries to keep an entity facing a particular direction.

Keyvalues

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

Enable the controller.
  • TurnOff
Disable the controller.

Outputs