Difference between revisions of "Rotate-To Action"

From AgentCubes
Jump to navigation Jump to search
imported>Mike
imported>Loon911
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[image:Rotate to.png|150px]]
+
[[Image:Rotate to.png|150px|Rotate to.png]]  
  
[[image:Rotate to expanded.png|150px]]
+
[[Image:Rotate to expanded.png|150px|Rotate to expanded.png]]  
  
 +
<br>
  
<table cellpadding="10" cellspacing="0" border="0" width="100%">
+
{| cellpadding="10" cellspacing="0" border="0" width="100%"
<tr>
+
|-
<td align="left" valign="top" width="80"><b>Definition:</b></td>
+
| align="left" valign="top" width="80" | '''Definition:'''
<td align="left" valign="top" width="100%">The <strong>Rotate-To</strong> action .............</td>
+
| 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.
</tr>
+
|-
<tr>
+
| align="left" valign="top" width="80" | '''Parameters:'''
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
+
| align="left" valign="top" width="100%" |
<td align="left" valign="top" width="100%">...........</td>
+
[[Formula parameter|roll angle]]&nbsp;''number or [[VAT_Formula_parameter|VAT]] formula''
</tr>
 
<tr>
 
<td align="left" valign="top" width="80"><b>Example:</b></td>
 
<td align="left" valign="top" width="100%"></td>
 
</tr>
 
  
</table>
+
[[Formula parameter|pitch angle]]&nbsp;''number or [[VAT_Formula_parameter|VAT]] formula''
  
 +
[[Formula parameter|heading angle]]&nbsp;''number or [[VAT_Formula_parameter|VAT]] 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%" |
 +
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Latest revision as of 09:51, 28 June 2019

Rotate to.png

Rotate to expanded.png


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: