wags
1
So this is my game looks like. This is for you to understand what my game is all about.
My problem is i want to rotate the character properly based on where it land on circumference of the circle.
Please see this image on how it looks when it lands on 2nd circle:
_joe
2
You can’t rotate an object on trigger, you can “trigger” a rotation, but since rotate is calculated on every frame, you should write it in update.
So write your rotate code in update:
And wrap it in a boolean that you change in your OnTriggerEnter.