TransformComponent

This component add position, rotation and scale to game object.

Editor

In the editor, you can change position, rotation or scale with differents spins.

Script

Variables

  • game_object: Object which own this component (GameObject)

  • engine: Utility class to control the game (Engine)

  • rotation : Rotation of object in degrees (integer)

  • position : Position X and Y of object (Vec2)

  • scale : Scale X and Y of object (Vec2)

Functions

No public function in this component.