CharacterBody2D.

Rotation Property

Summary

The UnityEngine.Rigidbody2D.rotation (currently fixed at 0).

Syntax

public float Rotation { get; set; }

Remarks

Supporting rotation is possible, but would increase the complexity of many scripts.

Value

Type Description
float