Pitch,roll,yaw and Paper2d Question.
Hello everyone, I have created a sine and rotation A.I for my spider and this is the problem that i am facing.If i add a number bigger than 90 inside my rotation variable (pitch) then the spider flips on its axis while it rotates towards that number.sometimes it does that in pitch values larger than 130 or -130.it seems random. Trying to investigate what is causing this i noticed that if i rotate my spider in the editor then the pitch value changes correctly up to a point and then the system adds roll and yaw as well and i believe this is the reason why the spider flips while it rotates. Is this normal behaviour?Am i doing something wrong ?Why all these random numbers when i rotate my sprite? Thank you.
Hey Roccinio -
There does seem to be an issue with rotation in Paper2D and I am reporting it to our developers. In the meantime, here is a work-around example for you to try where absolute values are set instead of a combine Rotator.
Blueprint: (Timeline is still 0 to 1)
answered Aug 28 '14 at 06:40 PM
Lovecraft_K ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here