Point angularvelocitysensor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Robot: fixing template case.) |
||
Line 13: | Line 13: | ||
*'''threshold''' | *'''threshold''' | ||
:<float> The threshold angular velocity to compare against, in degrees per second. | :<float> The threshold angular velocity to compare against, in degrees per second. | ||
* '''{{ | * '''{{EP1 add|axis}}''' | ||
: <vecline> Axis | : <vecline> Axis | ||
* '''{{ | * '''{{EP1 add|usehelper}}''' | ||
: {{boolean}} Use axis helper to determine rotation values (clockwise/counter-clockwise). | : {{boolean}} Use axis helper to determine rotation values (clockwise/counter-clockwise). | ||
Revision as of 19:19, 19 January 2009
Template:Wrongtitle Template:Base point
Entity Description
An entity that detects whether another entity's angular velocity meets or exceeds a threshold value.
Keyvalues
- Template:Kv targetname
- target
- <target_destination> Name of the entity whose angular velocity will be sensed.
- threshold
- <float> The threshold angular velocity to compare against, in degrees per second.
- axis (in all games since
)
- <vecline> Axis
- usehelper (in all games since
)
- <boolean> Use axis helper to determine rotation values (clockwise/counter-clockwise).
Inputs
- Checks to see whether the Target Entity's angular velocity meets or exceeds the Threshold Velocity, firing either the OnGreaterThanOrEqualTo or OnLessThan output based on the result.
- Checks to see if the Target Entity's angular velocity meets or exceeds the Threshold Velocity. Once the Fire Interval expires, fires the appropriate test result output if the result is stable throughout the Fire Interval.
Outputs
- Template:O targetname
- AngularVelocity <float>
- Fired when the Target's Angular Velocity changes, passing the new magnitude of the angular velocity.
- OnGreaterThanOrEqualTo
- Fired when the Target Entity goes from slower than the threshold angular velocity to faster than the threshold angular velocity.
- OnLessThan
- Fired when the Target Entity goes from faster than the threshold angular velocity to slower than the threshold angular velocity.
- OnLessThanOrEqualTo
- Fired when the Target Entity goes from faster than the threshold angular velocity to slower than the threshold angular velocity.
- OnEqualTo
- Fired when the Target Entity reaches the threshold angular velocity from a different velocity.