physics wip

This commit is contained in:
2015-07-05 15:38:12 +06:00
parent 9c700fb06a
commit 569efe5e82
23 changed files with 587 additions and 218 deletions

View File

@@ -252,8 +252,8 @@ namespace IsoTools {
#if UNITY_EDITOR
void OnDrawGizmos() {
if ( ShowBounds ) {
IsoUtils.DrawCube(Position + Size * 0.5f, Size, Color.red);
if ( ShowBounds && IsoWorld ) {
IsoUtils.DrawCube(IsoWorld, Position + Size * 0.5f, Size, Color.red);
}
}