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 to create and kill a cube upon click on the screen?

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

Moderator: Support

Post Reply
kberraho
Posts: 54
Joined: 12 Apr 2016, 16:01

how to create and kill a cube upon click on the screen?

Post by kberraho » 19 May 2016, 13:43

Hello all,

so I am trying to find a way to create a cube once I press a specific area of the screen, possibly using the Touch button node, as well as being able to click on a specific object like a cube and completely destroy it,kill it, not deactivate it, or block it. any feedback and suggestion would be much predicated. Thanks in advance.

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

Re: how to create and kill a cube upon click on the screen?

Post by chriss0212 » 19 May 2016, 14:01

as long as you can not create objects during runtime you can not destroy them ;) it is not possible to change the hierarchy during runtime.

you need to block it!

greets

christian

kberraho
Posts: 54
Joined: 12 Apr 2016, 16:01

Re: how to create and kill a cube upon click on the screen?

Post by kberraho » 19 May 2016, 14:19

I see, thanks for the explanation, so I assume that I need a cube in the hierarchy turned inactive at run time, and as soon as I trigger a pressed key on the screen it can register the location or coordinates, then assign them to the cube and finally activate it, and if want to destroy it, it will be as simple as deactivating the cube.right?

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

Re: how to create and kill a cube upon click on the screen?

Post by chriss0212 » 19 May 2016, 14:30

jepp

kberraho
Posts: 54
Joined: 12 Apr 2016, 16:01

Re: how to create and kill a cube upon click on the screen?

Post by kberraho » 19 May 2016, 14:55

Awesome !! thank you.

Post Reply