|
[Sponsors] |
January 22, 2009, 12:54 |
UDF-dpm
|
#1 |
Guest
Posts: n/a
|
Hi I have an easy question. I have a simple code.As: #include "udf.h" DEFINE_DPM_SCALAR_UPDATE(PARTICLEM,c,t,initializa, p) {
if(p->state.pos[0]>0.5) { p->stream_index=-1; } else { } } I expect it removes particle in a 2d rectangular after x>0.5.But when i go to Display-particle Tracks- shows my particle. Incredibly as i do not use (if statement) it works and delete my particle.I am sure that i compile and hook it truely. Please help me ASAP. arh1384@gmail.com Best Regards |
|
|
|