tenrdrmer said: the easiest would be to just use three images and animate it. other wise it will take some math to make it rotate from the end like that.
I do that with my game to
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
you can get the math from the example rotations demo. you should be able to pick that apart enough to get the part you need.
i actually dont need it to rotate at the bottom, the center will due. Im trying what mangaroo said, i just need to get the angle right. its being a bit of a problem
i got it!! I tried "45 to 315" but it was rotating the wrong way. but it worked when i did "45 to -45"
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
tim13211 said: i actually dont need it to rotate at the bottom, the center will due. Im trying what mangaroo said, i just need to get the angle right. its being a bit of a problem
You will most likely need a rule for each side of the rotating not just an otherwise. The otherwise with no rule will mean the interpolate will keep setting back as soon as it tries to move.
look at the demo i told you to search. It has the math u need and lets u set a wave span attribute for how much it rocks back and forth, and a speed attribute
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
JohnPapiomitis said: look at the demo i told you to search. It has the math u need and lets u set a wave span attribute for how much it rocks back and forth, and a speed attribute
tim13211 said: i got it!! I tried "45 to 315" but it was rotating the wrong way. but it worked when i did "45 to -45"
I got it guys
tenrdrmer said: You will most likely need a rule for each side of the rotating not just an otherwise. The otherwise with no rule will mean the interpolate will keep setting back as soon as it tries to move.
Comments
otherwise interprolate to angle M
he'll need to start at one of those angles...or be rotated to it for it to work
cheers
Thanks guys!!!