Transformation system path

This commit is contained in:
Antoine Pilote
2023-09-16 12:10:05 -04:00
parent d5e576e7b5
commit cfbc3fa2c1
4 changed files with 3 additions and 3 deletions

View File

@@ -78,8 +78,9 @@ namespace Nuake
Quat globalOrientation = transform.GetLocalRotation();
Vector3 globalScale = transform.GetLocalScale();
#ifndef FRAME_PERFECT_TRANSFORM
ParentComponent parentComponent = currentParent.GetComponent<ParentComponent>();
#define FRAME_PERFECT_TRANSFORM
#ifndef FRAME_PERFECT_TRANSFORM
if (parentComponent.HasParent)
{
TransformComponent& transformComponent = parentComponent.Parent.GetComponent<TransformComponent>();