My next task was to greybox some levels which can serve as a placeholder for while my game is in development. To do this I created my level and exported it as an FBX file using Maya. Then, I simply put this file into my Unity project folders.
However, exporting them as a singular files was a bad idea, as it messed up the box colliders in the level, which means that my character would simply just fall through the level.
Therefore, I went back into Maya and exported the level piece-by-piece. This solved my problem and my character sat on the platforms. I then found another problem with my platforms:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNKq1c3RI6UxGcp_ZBHy6nMm6xUrfFgPP0AGQ8gsTKF1vCaKibzLq-TEwugNmh_kXO7ai42KuoDn8Yt9XNpwO3ob1mfg3Ipxg5FBXQwOyPuRDau6q7f9-r3ZZkfrL5rzKJMRvK75SosfRt/s320/wrongboxcollider.jpg)
The collider I was using only formed a box around the object, so when my character walked over the platform, it did not fall into the small pit as I intended. This was fixed by deleting the “box collider” and replacing it with a “Mesh Collider.”
No comments:
Post a Comment