From 749797dc4fff427c11d587699e462ccc1db77180 Mon Sep 17 00:00:00 2001 From: Areloch Date: Tue, 17 Oct 2017 21:00:42 -0500 Subject: [PATCH] Corrected documentation. --- Engine/source/scene/sceneObject.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Engine/source/scene/sceneObject.cpp b/Engine/source/scene/sceneObject.cpp index f2f7963a0..6605f5407 100644 --- a/Engine/source/scene/sceneObject.cpp +++ b/Engine/source/scene/sceneObject.cpp @@ -1518,8 +1518,9 @@ DefineEngineMethod( SceneObject, isGlobalBounds, bool, (),, } DefineConsoleMethod(SceneObject, setForwardVector, void, (VectorF newForward, VectorF upVector), (VectorF(0, 0, 0), VectorF(0, 0, 1)), - "Get the number of static fields on the object.\n" - "@return The number of static fields defined on the object.") + "Sets the forward vector of a scene object, making it face Y+ along the new vector.\n" + "@param The new forward vector to set.\n" + "@param (Optional) The up vector to use to help orient the rotation.") { object->setForwardVector(newForward, upVector); } \ No newline at end of file