fix: Transform Rotation Miscalculation
This commit is contained in:
parent
12cb144688
commit
ea94bed00d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue