Adding Points To A Group If It Exceeds Speed Limit

   684   1   0
User Avatar
Member
128 posts
Joined: 9月 2018
Offline
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
8506 posts
Joined: 7月 2007
Offline
try this
float length = length(v@v);
if(length >= chf("speed_limit")){
    @group_moved_point = 1;
}
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links