View Single Post
# 2 19-02-2013 , 08:35 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
There's a few ways to approach it. These might not be the most elegant, but depending on the situation, it should work.
1) Reset the gear rotate. If gear.rotateY is 360 or more, set to 0.
or
2) Create a variable or attribute instead of hardcoding 360. If gear.rotateY is greater than the variable (which starts at 360) add 360 to the value you're testing against.


-stwert

Website - Blog - YouTube - Vimeo - Facebook - Twitter

-->How to Effectively Ask Questions on Forums<--