fix: Transform Rotation Miscalculation
This commit is contained in:
parent
12cb144688
commit
ea94bed00d
|
@ -66,7 +66,7 @@ public class Transform : ITransform
|
||||||
|
|
||||||
public float Rotation
|
public float Rotation
|
||||||
{
|
{
|
||||||
get => _localRotation * (Parent?.Rotation ?? 1f);
|
get => _localRotation + (Parent?.Rotation ?? 0f);
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value == _rotation)
|
if (value == _rotation)
|
||||||
|
|
Loading…
Reference in New Issue