Adding Points To A Group If It Exceeds Speed Limit

   1010   1   0
User Avatar
Member
134 posts
Joined: 9月 2018
オフライン
Hey Everyone!

I want to add points to a group if a point exceeds a speed limit at any point in it's life. Can anyone help?

Vincent Griffith

float length = length(v@v);
if(length <= ch("speed_limit")){
    @group_moved_point == 1;
}

What I have so far and it doesn't work.
Edited by VGriffith - 2022年11月10日 19:26:22
User Avatar
Member
9402 posts
Joined: 7月 2007
オフライン
try this
float length = length(v@v);
if(length >= chf("speed_limit")){
    @group_moved_point = 1;
}
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links