Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
fixed an unparented boundary game object (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson authored Apr 13, 2020
1 parent fedff63 commit 6a04120
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,8 @@ public GameObject GetFloorVisualization()
currentFloorObject.layer = FloorPhysicsLayer;
currentFloorObject.GetComponent<Renderer>().sharedMaterial = FloorMaterial;

currentFloorObject.transform.parent = BoundaryVisualizationParent.transform;

return currentFloorObject;
}

Expand Down

0 comments on commit 6a04120

Please sign in to comment.