Squirrel/Server/Functions/Objects/RotateTo

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|Object.RotateTo}} {{ScriptingChangesIn0.1.0.10}} This ''Object'' class method rotates the object to the given angle. == Syntax == <code>bool Object.RotateTo( Ve…')
 

Latest revision as of 22:47, 9 September 2011

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This Object class method rotates the object to the given angle.

[edit] Syntax

  1. bool Object.RotateTo( Vector angle, float speed )

[edit] Arguments

  • angle - The rotation you wish to rotate this object to
  • speed - The rotation speed as degrees per second

[edit] Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Some explanation here too

  1.  
  2. -- todo
  3.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox