Example usage for Java com.badlogic.gdx.physics.box2d Transform fields, constructors, methods, implement or subclass
The text is from its open source code.
Transform(Vector2 position, float angle) Constructs a new Transform instance with the given position and angle |
Vector2 | getPosition() |
float | getRotation() |
Vector2 | mul(Vector2 v) Transforms the given vector by this transform |
void | setPosition(Vector2 pos) Sets the position of this transform |