Difference between revisions of "Rotate-By Action"
Jump to navigation
Jump to search
imported>Corrina |
imported>Corrina |
||
Line 1: | Line 1: | ||
− | [[ | + | [[Image:Rotate by.png|200px|Rotate by.png]] |
− | [[ | + | [[Image:Rotate by expanded.png|200px|Rotate by expanded.png]] |
− | + | {| cellpadding="10" cellspacing="0" border="0" width="100%" | |
− | + | |- | |
− | + | | align="left" valign="top" width="80" | '''Definition:''' | |
− | + | | align="left" valign="top" width="100%" | The '''Rotate by''' action rotates an agent by roll, pitch, and heading angles, along the x, y, and z axis respectively. | |
− | + | |- | |
+ | | align="left" valign="top" width="80" | '''Parameters:''' | ||
+ | | align="left" valign="top" width="100%" | | ||
+ | [[Formula parameter|roll angle]] ''number or formula'' | ||
− | + | [[Formula parameter|pitch angle]] ''number or formula | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[ | + | [[Formula parameter|heading angle]] ''number or formula'' |
− | |||
− | + | |- | |
+ | | align="left" valign="top" width="80" | '''Additional Parameters:''' | ||
+ | | align="left" valign="top" width="100%" | [[Animation time parameter|time]]: If time is 0, movement happens instantly. The slider() option in the time parameter connects the animation time to the slider located above the world. | ||
+ | |- | ||
+ | | align="left" valign="top" width="80" | '''Example:''' | ||
+ | | align="left" valign="top" width="100%" | [[Image:Rotate by action example.png|500px]] | ||
+ | |} | ||
[[Category:AgentCubes_Actions]] | [[Category:AgentCubes_Actions]] |
Revision as of 18:26, 20 April 2012
Definition: | The Rotate by action rotates an agent by roll, pitch, and heading angles, along the x, y, and z axis respectively. |
Parameters: |
roll angle number or formula pitch angle number or formula heading angle number or formula |
Additional Parameters: | time: If time is 0, movement happens instantly. The slider() option in the time parameter connects the animation time to the slider located above the world. |
Example: | 500px |