Dammerung
Hey people i have a question

i wannna use the compute velocity node to compute de velocity of a sphere


and use the speed as a condition in an expression for my particles 

but i can not seem to make it work


i connect the speed output of the compute velocity node to my particles with an expression and store it  but the value it returns is always 0

any insights??

thanks






pshipkov
There is a little check box in the AE of the node that says "output speed per-point".
Turn it on and things should work.
Reply 0 0
Dammerung
Hey peter thanks 
i ticked the box but still getting a 0

my sphere is constrained to a another object that is moving it maybe that has something to do with it 
local space vs world???

i connect the sphere out.mesh the in.geo of the CVnode and then in my particles  RunBefDyn expression  i go 
float $speed = computeVel.speed;

but when i print the value out is 1

and if i connect  outSpeedPP like this

float $speed = computeVel.outSpeedPP;

insted of speed i get 0

the connection shows in the hypershade from the cvnode to the particle shape.input [0] so i figuer its really contented 


thanks again




Reply 0 0
Dammerung
hey i found that my problem was that i didnt have the time conected to the cvnode time 
conected it with expression and everything is working

Reply 0 0
Reply