fix: BoxColliderTriggerArea Visualisation Not Rotating
This commit is contained in:
parent
ea44c11e56
commit
e97119befc
|
@ -15,7 +15,8 @@ namespace Syntriax.Modules.Trigger
|
||||||
else
|
else
|
||||||
Gizmos.color = TriggerCount > 0 ? Color.green : Color.red;
|
Gizmos.color = TriggerCount > 0 ? Color.green : Color.red;
|
||||||
|
|
||||||
Gizmos.DrawWireCube(transform.position, transform.lossyScale);
|
Gizmos.matrix = transform.localToWorldMatrix;
|
||||||
|
Gizmos.DrawWireCube(Vector3.zero, Vector3.one);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue