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!

Reset touch while limit = 0

Please report bugs in this group. We will maybe populate a list of known bugs with a possibly modified description at a later time.

Moderator: Support

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

Reset touch while limit = 0

Post by lerou » 25 Feb 2015, 17:34

Hi,

this is not a big one... but it cost me a moment to figure out what's going on, so I'll annoy the forum in return.

Create a new empty scene

Create a touch translation node, followed by a rectangle. Set the touch limits:
active: true
MinX = 0
MaxX = 0
MinY = 0
MaxY = 10

Move the rectangle up a bit

Set MaxY = 0

Hit reset on the touch node

Increase MaxY

You'll see the rectangle move up. Seems like the reset was ignored while the y-limits were both at 0. Probably ignored as y-movement is more or less disabled with such values. However if you're setting the limits from some other node and they become 0 during a reset or so, this might confuse you the way it did me ;)

cheers,
rou

Post Reply