Adding Points To A Group If It Exceeds Speed Limit
691
1
0
-
- VGriffith
- 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
-
- tamte
- Member
- 8551 posts
- Joined: 7月 2007
- Online
try this
float length = length(v@v);
if(length >= chf("speed_limit")){
@group_moved_point = 1;
}
Tomas Slancik
FX Supervisor
Method Studios, NY