Steve Pickup

Hatchery

About Me

専門知識
Generalist
業界:
Advertising / Motion Graphics

Connect

LOCATION
United Kingdom

Houdini Skills

ADVANCED
Not Specified
INTERMEDIATE
Not Specified
BEGINNER
Not Specified

Availability

Not Specified

Recent Forum Posts

If Statement error - Trying to create a group 2023年9月1日3:59

Did you set the v@initpos? if not that will be 0,0,0 and so all points will have moved.
Attached a very crude example of it.

If Statement error - Trying to create a group 2023年8月31日3:56

yeah thats no problem, i think what eaniix quite rightly pointed out is you need to run over points but then assign to the group on the prims so i think this should do the job.

if(v@P != v@initpos){
    int prims[] = pointprims(0,@ptnum);
    foreach(int i; prims){
        setprimgroup(0,'activeGroup',i,1,'set');
    }
}else{
setprimgroup(0,'activeGroup',@ptnum,0,'set');
}

If Statement error - Trying to create a group 2023年8月30日3:48

Would it work if you were just checking if they have a velocity above 0, or a certain value? assuming your other pieces do actually have no velocity.