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!

how can I use the method not marked by the lightting mark?

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

Moderator: Support

Post Reply
zhaohuifu

how can I use the method not marked by the lightting mark?

Post by zhaohuifu » 17 May 2013, 12:20

hi to everyone,
how can I use the method of a node which is not marked by a lightning sign.
For example , the touch Translation node, I want do something when the TouchPressed method is fired.I want use it to fire other things .
Have you met somethings like this ? and how do you solve this kind of problem .
tell me what you do ,share your experience with me. I am grateful for you .

thank you all the same.

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

Re: how can I use the method not marked by the lightting mar

Post by Chris » 20 May 2013, 14:59

Hi,

The TouchPressed is a Boolean type output which means it will give either a 'True' or 'False' output when the fired. So you need to connect it to the property of another node that will except this type of input. (drag the node input property onto the Touch node and select TouchPressed ;) )

i.e. 'Bool' variable, several of the 'Math Effects' etc etc....

Quick tip....In the top right hand corner of the In/Out window you will see a magnifying glass click this to see realtime activity in the In/Out window ;) always handy

chris

Post Reply