ElasticSea / unity-fracture

Fracture any mesh at runtime
MIT License
1.11k stars 128 forks source link

CreateWalls script only creates a wall at the origin, not at the location of the Walls prefab #9

Closed aholtschneider closed 1 year ago

aholtschneider commented 3 years ago

Was wondering how to fix this issue? I tried changing the fractured.transform.SetParent(transform) within CreateWalls.cs to fractured.transform.SetParent(transform, true) with no luck.

Any advice?