Gelle Posted February 4, 2019 Share Posted February 4, 2019 (edited) hey i have a vex there turns the color of RBD object in to red on impact. but here comes my problem, i can't find a way to turn it green one frame after the object have turn to red. anyone there can help me with that. and here is the vex i am using. if (@hit_total == 0) { @Cd = set(0.10,0.0275 ,0); } else { @Cd = set((@hit_total+@id+5), 0, 0); } Edited February 4, 2019 by Gelle Quote Link to comment Share on other sites More sharing options...
char Posted February 4, 2019 Share Posted February 4, 2019 Can't you just simplify this like shown below? I assume you already set the color of the objects to red before starting the simulation and you just want to change it when they hit the floor. if(@hit_total > 0) { @Cd = set(0,1,0); } Let me know if it works. Can't test this as I'm not behind my Houdini desk. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.