Skip to content

PhysicsBodyComponent.GetWorldRotation() Method

Definition

Namespace: Brine2D.ECS.Components

Returns the physics-side world-space rotation of this body in radians. Returns 0 if the body has not yet been created.

public float GetWorldRotation();

Returns

System.Single