getUpVector method
Implementation
Vector3 getUpVector(){
object.getWorldDirection( targetPosition );
targetPosition.x = 0;
targetPosition.z = 0;
targetPosition.y = 1;
targetPosition.normalize();
return targetPosition;
}
Vector3 getUpVector(){
object.getWorldDirection( targetPosition );
targetPosition.x = 0;
targetPosition.z = 0;
targetPosition.y = 1;
targetPosition.normalize();
return targetPosition;
}