Squirrel/Server/Functions/Objects/RotateTo
From Liberty Unleashed Wiki
(Difference between revisions)
(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
This Object class method rotates the object to the given angle.
[edit] Syntax
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
-- todo
[edit] Notes
-- List of used functions and other notes here.