Page 1 of 2
Connect between hierarchys
Posted: 05 Mar 2013, 17:28
by Marko
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
Re: Connect between hierarchys
Posted: 06 Mar 2013, 11:41
by Marko
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
Re: Connect between hierarchys
Posted: 06 Mar 2013, 12:16
by Marko
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
Re: Connect between hierarchys
Posted: 06 Mar 2013, 12:23
by Daniel Willer
Can please post a simple example scene to see what your mistake is.
Cheers!
Re: Connect between hierarchys
Posted: 06 Mar 2013, 13:00
by Marko
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.
Re: Connect between hierarchys
Posted: 06 Mar 2013, 15:36
by Chris
expose the output singleTap and link to the animation

Re: Connect between hierarchys
Posted: 07 Mar 2013, 13:25
by Marko
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
Re: Connect between hierarchys
Posted: 07 Mar 2013, 13:57
by Marko
The 3rd point is nonsense. Forget. M.
Re: Connect between hierarchys
Posted: 07 Mar 2013, 14:52
by Chris
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

Re: Connect between hierarchys
Posted: 07 Mar 2013, 15:18
by Marko
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