Browse Source

- Fixed typo in "MoveTo" script binding. Thanks to https://github.com/FastredB

MelvMay-GG 12 years ago
parent
commit
39961aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/2d/sceneobject/SceneObject_ScriptBinding.h

+ 1 - 1
engine/source/2d/sceneobject/SceneObject_ScriptBinding.h

@@ -1617,7 +1617,7 @@ ConsoleMethod(SceneObject, getAngularDamping, F32, 2, 2, "() - Gets the angular
 
 //-----------------------------------------------------------------------------
 
-ConsoleMethod(SceneObject, moveTo, bool, 4, 7,  "(worldPoint X/Y, time, [autoStop = true], [warpToTarget = true]) - Moves the object to the specified world point.\n"
+ConsoleMethod(SceneObject, moveTo, bool, 4, 7,  "(worldPoint X/Y, speed, [autoStop = true], [warpToTarget = true]) - Moves the object to the specified world point.\n"
                                                 "The point is moved by calculating the initial linear velocity required and applies it.\n"
                                                 "The object may never reach the point if it has linear damping applied or collides with another object.\n"
                                                 "@param worldPoint/Y The world point to move the object to.\n"