StandUp
class StandUp
Component used to rotate an object on the Y-axis.
public class StandUp extends Component
— Constructors (1) —
Constructor | Description |
---|---|
StandUp() | Creates a new instance of StandUp. |
— Methods (5) —
Name | Description |
---|---|
float getRotationY() | Returns the current rotation on the Y-axis of the object. |
void lookTo(Vector3 value) | Points the Y rotation of the object to the values defined to be Vector3 of the argument. |
void rotate(float value) | Rotates the object on the Y-axis. |
void rotateInSeconds(float value) | Rotates the object on the Y-axis multiplied by "Math.bySecond(1)". |
void setRotationY(float value) | Sets the current rotation on the Y-axis of the object. |