Difference between revisions of "Rotate-To Action"
Jump to navigation
Jump to search
imported>Corrina |
imported>Loon911 m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
|- | |- | ||
| align="left" valign="top" width="80" | '''Definition:''' | | align="left" valign="top" width="80" | '''Definition:''' | ||
− | | align="left" valign="top" width="100%" | The '''Rotate | + | | align="left" valign="top" width="100%" | The '''Rotate-to''' 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="80" | '''Parameters:''' | ||
| align="left" valign="top" width="100%" | | | align="left" valign="top" width="100%" | | ||
− | [[Formula parameter|roll angle]] ''number or VAT formula'' | + | [[Formula parameter|roll angle]] ''number or [[VAT_Formula_parameter|VAT]] formula'' |
− | [[Formula parameter|pitch angle]] ''number or VAT formula'' | + | [[Formula parameter|pitch angle]] ''number or [[VAT_Formula_parameter|VAT]] formula'' |
− | [[Formula parameter|heading angle]] ''number or VAT formula'' | + | [[Formula parameter|heading angle]] ''number or [[VAT_Formula_parameter|VAT]] formula'' |
|- | |- | ||
Line 23: | Line 23: | ||
|- | |- | ||
| align="left" valign="top" width="80" | '''Example:''' | | align="left" valign="top" width="80" | '''Example:''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| align="left" valign="top" width="100%" | | | align="left" valign="top" width="100%" | | ||
|} | |} | ||
[[Category:AgentCubes_Actions]] | [[Category:AgentCubes_Actions]] |
Latest revision as of 09:51, 28 June 2019
Definition: | The Rotate-to action rotates an agent by roll, pitch, and heading angles, along the x, y, and z axis respectively. |
Parameters: |
roll angle number or VAT formula pitch angle number or VAT formula heading angle number or VAT 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: |