Trouble using Sin/Cos but will totally use another method!
iamcartez
Houston, TexasMember Posts: 648
After doing a little research with sin | cin, I'm trying to get my plane to do 360 spins. The formula I am using now works however I noticed that the more time pass... the bigger the 360/donuts get and after about 90 seconds... it is impossible to do a complete donut... And then when I wait another minute or so, I can do complete 360s again...
Comments
You don't need to do any trig stuff.
Just use self.shipSpeed in both the rotate speed and the move speed. It will do a perfect loop.
(Then you can start using variations of self.shipSpeed in each behavior to increase the loop area and/or the loop speed.)
Oh my goodness, it feels like I tried that before and it didn't work lol... thanks!!!
www.appdore.com || appdore twitter || appdore facebook
It won't work if you change the move behavior to "relative to scene." Make sure you leave it on "relative to actor" and all will be well.