Im fairly new to unity and coding, but I’m having a problem where a cube gameObject I made as a child, does not rotate in sync with the box collider. If I keep it at a 90 degree angle it all lines up perfectly, but if I Rotate it so make a slanted surface, the collider does not move perfectly with the object itself. If I make it its own GameObject and not a child, I don’t get this problem, but for some reason, as a child, it has these problems. I would like to know how to fix this.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can not Rotate child objects | 4 | 26 | January 27, 2025 | |
[C#] Bug? Rotating parent of a collider2D does not rotate the collider itself. | 2 | 1117 | February 12, 2014 | |
Rotating parent does not rotate child collider correctly | 1 | 1295 | July 29, 2016 | |
Box collider rotate my object | 2 | 2216 | June 13, 2015 | |
Collider not aligned with the Object rotation | 4 | 4723 | April 19, 2023 |