hi, i have just started to learn unity scriptin and wanted to find out:
- How to rotate spawn point by the increment value around the x axis
hi, i have just started to learn unity scriptin and wanted to find out:
You need to be more specific than that. How are you creating your spawn point? Do you have a script that already creates a spawn point, or do you need that written as well? Do you want continuous rotation or did you want to set the rotation to only rotate to a discrete value? I’d suggest looking here to learn about object rotation:
And the Lerp tutorials should help (since they have spawn points in them):