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!

Connect between hierarchys

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

Moderator: Support

Marko

Connect between hierarchys

Post by Marko » 05 Mar 2013, 17:28

Hi,
I need a tip please.
I have a touch button in a hierarchy which is linked with a SceneEventNode. (the red line)
How do I bring the singleTapEvent of the SceneEventNode to my "animationNode" (blue line) which influence my camera and which is not in the hierarchy?

I tried it with "exposure" but I have too less experience weather this is the right way and how to go further with the exposure concept.

Marko
Attachments
Connect between hyrarchies.jpg

Marko

Re: Connect between hierarchys

Post by Marko » 06 Mar 2013, 11:41

Hi Alex,
thanks for the answer.
As I´m at the ventuz beginning I guess my "node-construction" is wrong. Guess the input must be linked to the output like you say - also in my case.

Meanwhile I tried to drag my method "goto3d" of the animation node to the SceneEventNode - but no popup appeared. If I drag for example the "activate" of the SceneEventNode onto the behaviour "TouchButton" then the pop up appears like you described. Maybe I understood you wrong.

I try to describe what I want to do:
I have 3 axes : 3d/film/diagrams. I made a camera animation with three places to look at each axis.
If I click on the rings, which are rotating around each axis - the camera should move nearer to that clicked ring.

What do I have to link?

cheers Marko
Attachments
02.jpg

Marko

Re: Connect between hierarchys

Post by Marko » 06 Mar 2013, 12:16

I think I got the mistake but I cannot solve it.
If I put a test touch button directly to the place where my animation-node is - the touch works and the camera moves.
But I have the touchbutton and it´s geometry in a hierarchy container and so it doesn´t work.
What can I do?
Marko

User avatar
Daniel Willer
Posts: 309
Joined: 06 Jan 2012, 18:12

Re: Connect between hierarchys

Post by Daniel Willer » 06 Mar 2013, 12:23

Can please post a simple example scene to see what your mistake is.

Cheers!

Marko

Re: Connect between hierarchys

Post by Marko » 06 Mar 2013, 13:00

Ok - here.
Thanks M.

P.S.: The scene event node like in the screenshot is not necessary like I noticed meanwhile so I hided it.
Attachments
DummieForForum.vza
(11.9 KiB) Downloaded 433 times

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

Re: Connect between hierarchys

Post by Chris » 06 Mar 2013, 15:36

expose the output singleTap and link to the animation ;)
Attachments
DummieForForum withclick.vza
(11.53 KiB) Downloaded 407 times

Marko

Re: Connect between hierarchys

Post by Marko » 07 Mar 2013, 13:25

expose the output singleTap and link to the animation

Chris - thanks for the example. But sorry I think I do not yet understand some basic things:

1. What I do not understand is why a singleTap is an output - isn´t a singleTap something what the user (mouseclick) does and that is why I understand a singleTap as an input?!
2. Exposure: I thought and red in the manual - the visible sign in the VentuzGUI that a method is exposured is the little green square near the exposured method. Are there other exposure actions then the RMB-exposure on a method? I can´t see that little green square in your example.
3.How did you transfer the hierarchyNode "FILME" into the content window (attachment)?

regards Marko
Attachments
whyIsTheHierarchyContHere.jpg
whyIsTheHierarchyContHere.jpg (23.26 KiB) Viewed 7133 times

Marko

Re: Connect between hierarchys

Post by Marko » 07 Mar 2013, 13:57

The 3rd point is nonsense. Forget. M.

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

Re: Connect between hierarchys

Post by Chris » 07 Mar 2013, 14:52

The singleTap output is a "fired event" which allows you to use the touch information to trigger something else.
There is no need to recognise the tap as an input....the node already knows ;)
The exposure of an input or an output simply allows you to view that property
From a level up in the hierarchy.
Eg. If you are inside "filme" you can see the values of nodes you want to change so their is no need
To expose, but if you do t want to keep entering the hierarchy node to adjust something
or if you want to link the value to a property outside of hierachy node you need to expose it.
.....hope that makes sense ;)
Simple LMB click on the small box on the left of the property will expose it.
By RMB clicking on the property you be able to edit the exposed name
So you dont end up with 50 X Axis properties ;)

Marko

Re: Connect between hierarchys

Post by Marko » 07 Mar 2013, 15:18

Thank you for your patience.
But - sorry,sorry, sorry - I do not know where you exposed singleTap? Where is it? I don´t see a green square. I don´t see a node. Is it in the touchButton node? How do I create or cause it?
Marko

Post Reply