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 <guillaume.laforge...@gmail.com>

> Or better, an array of vec3.
> On Sep 2, 2013 9:49 PM, "Alan Fregtman" <alan.fregt...@gmail.com> 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 <3dv...@gmail.com>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
>>>
>>
>>

Reply via email to