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!

Touch Rotation Issue

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

Moderator: Support

Post Reply
User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Touch Rotation Issue

Post by Chris » 17 Sep 2014, 11:30

Hi,

I am setting up a selection of revolving images using touch rotation. Can anyone have a quick look at the attached vza and help me out please?

I have set up the scene for the user to simply swipe up and down anywhere on the screen to revolve the set of images. Each image also has a touch button in the container to select the image.
The issue i am having is, when you swipe up, the images roll up the screen (thats exactly what i want), but if you begin the touch on an image that is in the background, the image begin to revolve in the opposite direction.
obviously the opposite happens when you swipe down the screen to rotate the images in the reverse direction.

I have used a cylinder proxy in the hop that this wouldnt happen, but the image still seem affect the rotation direction when touched. Ive tried deactivating the touch buttons, but this makes no difference.

Any help on how i stop this happening??

Thanks

Chris

User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Re: Touch Rotation Issue

Post by Chris » 17 Sep 2014, 11:32

This might help :roll: :D
Attachments
image revolve.vza
(32.72 KiB) Downloaded 362 times

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: Touch Rotation Issue

Post by Karol » 17 Sep 2014, 13:11

Hi Chriss!

I'm not sure what you expect!
For me the behaviour is physically correct. Moving the back of a cylinder up rotates it in the opposite direction compared to moving the front up.

Cheers
Karol

User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Re: Touch Rotation Issue

Post by Chris » 17 Sep 2014, 13:45

Hi Karol,

thanks for the reply :)

Lets say you check visible on the proxy, the back of the cylinder is no longer touchable as the nearest side is always closer in Z. It then only rotates up with an up swipe and down with a down swipe, it disregards the rear touch entirely.

This is the behavior i want to achieve. Is this possible? or do i need a different set up?

Thanks
Chris

User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Re: Touch Rotation Issue

Post by Chris » 18 Sep 2014, 12:34

Hi Alex,

Many thanks for the details :)

After some head scratching, I think ive managed to achieve the behavior that i was after ;)

Still doing some testing but all good at the moment.

Thanks again

Chris

Post Reply