Thanks for the explanation Actually I'm not too familar with arrays since I never used them ( seems strange, but thats the truth ) so I guess I need to start dealing with them if I want to achieve the result :) I haven't tried yet, but I suppose that if the graph is smaller should be faster Lets try and see what I'll come up with
2013/9/3 Guillaume Laforge <[email protected]> > In case you missed my point. You need to feed one raycast node with the > array :). > > > On Tue, Sep 3, 2013 at 7:24 AM, Guillaume Laforge < > [email protected]> wrote: > >> Using an array of vec3 is not more complicate at all. Did you tried ? >> Also it gives you more freedom as you can add or delete vectors easily >> without changing the ICE graph. Also, the graph is smaller (and so could be >> faster to resolve). >> >> >> >> On Tue, Sep 3, 2013 at 3:43 AM, Nicolas Esposito <[email protected]>wrote: >> >>> http://upload.wikimedia.org/wikipedia/en/1/16/Drevil_million_dollars.jpg >>> >>> Raycast sounds more straight forward....array of vec3...I'll better >>> start study some stuff :-D >>> >>> Do you think that the "4 vectors at 90°" is a good solution or something >>> else could do the trick? >>> >>> anyway thanks :) >>> >>> >>> 2013/9/3 Guillaume Laforge <[email protected]> >>> >>>> Or better, an array of vec3. >>>> On Sep 2, 2013 9:49 PM, "Alan Fregtman" <[email protected]> >>>> wrote: >>>> >>>>> *>> First of all, it is possible to "fire" 4 vectors in 4 different ( >>>>> consistent ) directions? Any suggestions?* >>>>> >>>>> Sounds like you want 4 Raycast nodes. >>>>> >>>>> >>>>> >>>>> On Sun, Sep 1, 2013 at 4:41 PM, Nicolas Esposito <[email protected]>wrote: >>>>> >>>>>> Hi guy, >>>>>> >>>>>> I'm attempting to do something very similar to the "marker tracking" >>>>>> that Paul Smith did a while ago. >>>>>> So far I've been able to track a red dot based on one of his >>>>>> tutorials >>>>>> >>>>>> https://vimeo.com/20598209 >>>>>> >>>>>> As you can see the direction of the the particle have been >>>>>> randomized, so its always checking if is on red and this bit is working >>>>>> fine, but I'm not able to keep it "stable", menas at the perfect center >>>>>> >>>>>> What I was thinking to do is something like this: >>>>>> Check the lenght of 4 vectors ( X plus, Y plus, X minus, Y minus, so >>>>>> 4 vectors at 90° ) in order to keep the particle always at the center of >>>>>> the dot, since it will be something like the average of X Plus and X >>>>>> Minus, >>>>>> same thing for the Y >>>>>> >>>>>> So basically I want to check the vector lenght from the point 'till >>>>>> it reaches the red, do the same thing for the opposite vector, and set >>>>>> the >>>>>> average, so its stays in the center >>>>>> >>>>>> First of all, it is possible to "fire" 4 vectors in 4 different ( >>>>>> consistent ) directions? >>>>>> Any suggestions? >>>>>> >>>>>> Hope it makes sense :D >>>>>> >>>>>> Cheers >>>>>> >>>>> >>>>> >>> >> >

