I'm currently using a touch transformation node to zoom into an object attached to it, but when zooming in the object always zooms from the centre, whereas I'd like it to zoom from the point that the user is touching.
Any ideas how I might go about doing this?
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
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!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
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!
Using touch transformation to scale from where touched
Moderator: Support
- s-petersen
- Posts: 16
- Joined: 25 Mar 2015, 11:07
- Location: wuppertal | germany
- Contact:
Re: Using touch transformation to scale from where touched
Hi Luke,
i guess it depends on the center position of your objekt.
meaning, if you have an rectangle (x == center; y == center) so it will zoom from center.
same on an 3D object.
guess there is no way around.
sven
i guess it depends on the center position of your objekt.
meaning, if you have an rectangle (x == center; y == center) so it will zoom from center.
same on an 3D object.
guess there is no way around.
sven
Re: Using touch transformation to scale from where touched
Hey,
I have tried adding an axis and changing the scaling center but it didn't seem to have any effect.
I have tried adding an axis and changing the scaling center but it didn't seem to have any effect.
- s-petersen
- Posts: 16
- Joined: 25 Mar 2015, 11:07
- Location: wuppertal | germany
- Contact:
Re: Using touch transformation to scale from where touched
Hi luke,
did you grab the center of your touch and putting the coordinates into your object world node?
cheers
sven
did you grab the center of your touch and putting the coordinates into your object world node?
cheers
sven