Timeline for How to stop rotation every 90 degrees?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 22, 2015 at 18:38 | comment | added | bummzack |
No, it will not go wrong with an FPS drop, because at the end of the coroutine, the transform is set to end , which is a predefined value not dependent on time at all. It's really basically the same as you do, just cleaner and more extensible (say if you wanted to rotate around other axes as well)
|
|
Mar 22, 2015 at 15:29 | comment | added | alaslipknot | yeah but this might go wrong in case of an FPS drop or any unexpected issue, i really don't want to have more control on the time but instead i need to know the correct target rotation. | |
Mar 22, 2015 at 7:23 | history | answered | bummzack | CC BY-SA 3.0 |