Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

rotation help

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
User avatar
hgoodsir
Posts: 65
Joined: 05 Feb 2012, 16:17
Location: London
Contact:

rotation help

Post by hgoodsir » 22 Apr 2015, 13:02

hi all,
currently have a device that is giving me rotation values -360 to 360 but want to convert to make the object rotate without
jumping back so the rotation is continuousness. have attached clip to show the issue.

https://drive.google.com/file/d/0B1yZCF ... sp=sharing

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: rotation help

Post by lerou » 22 Apr 2015, 14:50

hi,

don't use absolute values, use deltas of your incoming angles (current value minus value from last frame) and sum them up.

cheers,
rou

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: rotation help

Post by chriss0212 » 22 Apr 2015, 15:43

hi,

are you using a math effect between device input and rotation? if so, set modulo to 360.

greetz

christian

User avatar
hgoodsir
Posts: 65
Joined: 05 Feb 2012, 16:17
Location: London
Contact:

Re: rotation help

Post by hgoodsir » 23 Apr 2015, 14:12

Thanks guys this seem to work better the modulo :)

Post Reply