Phys keepupright: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (→Entity Description:  Icon) |  (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== | ||
| 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
Entity Description
A controller that tries to keep an entity facing a particular direction.
Keyvalues
- Template:Kv targetname
- Template:Kv angles 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
- Template:I targetname
- TurnOn
- Enable the controller.
- TurnOff
- Disable the controller.