fix: Transform Rotation Miscalculation

This commit is contained in:
Syntriax 2024-11-09 17:15:57 +03:00
parent 12cb144688
commit ea94bed00d
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class Transform : ITransform
public float Rotation
{
get => _localRotation * (Parent?.Rotation ?? 1f);
get => _localRotation + (Parent?.Rotation ?? 0f);
set
{
if (value == _rotation)