playMaker

Author Topic: [Solved]Bad rotation value  (Read 2602 times)

stigma

  • Full Member
  • ***
  • Posts: 177
[Solved]Bad rotation value
« on: August 26, 2014, 05:17:39 PM »
Hi,
I rotate a object on 90°. But the value is not equal to exactly 90°. Why please ?
Thanks


« Last Edit: August 28, 2014, 09:06:22 AM by stigma »

bizilux

  • Full Member
  • ***
  • Posts: 171
Re: Bad rotation value
« Reply #1 on: August 26, 2014, 05:23:28 PM »
maybe per second and every frame together make it a bit over 90?

Sly

  • Full Member
  • ***
  • Posts: 123
Re: Bad rotation value
« Reply #2 on: August 27, 2014, 09:28:33 AM »
I think you should change "Space" field to value self and not world.
I guess that mean it rotate 90 on itself and not regarding of the world.

stigma

  • Full Member
  • ***
  • Posts: 177
Re: Bad rotation value
« Reply #3 on: August 27, 2014, 04:05:51 PM »
self or world is the same problem :(

bizilux

  • Full Member
  • ***
  • Posts: 171
Re: Bad rotation value
« Reply #4 on: August 27, 2014, 06:50:02 PM »
maybe you can use get time info action, and check if that wait action is exactly 1 second or a bit over it.

stigma

  • Full Member
  • ***
  • Posts: 177
Re: Bad rotation value
« Reply #5 on: August 28, 2014, 09:05:50 AM »
I solved by correcting the value of rotations with a loop.
If value is 90.125 per example, correction is 90 exactly.
Thanks all !