I’m building a simple game where there is a player on the ground and the player have to pass through the incoming obstacles which have holes in it.
I created the obstacle with PolygonMeshBuilder and added hole to it, now I have to change the orientation of the obstacle so that it will look like a proper obstacle for my game
If you see my game scene in playground the obstacle is overlapping on ground.
How to add proper rotation to the obstacle so that it will stand on the ground?