A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames.

Constructors

Properties

Methods

Constructors

Properties

position: b2Vec2

Transform position.

Transform rotation.

Methods

  • Calculate the angle that the rotation matrix represents.

    Returns number

    Rotation matrix angle.