fix: BoxColliderTriggerArea Visualisation Not Rotating
This commit is contained in:
@@ -15,7 +15,8 @@ namespace Syntriax.Modules.Trigger
|
||||
else
|
||||
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user