I need your help.
I'am trying to do a simple scale_script to interactively make a bunch of cubes scale up when a plane pass in front of them. My actual script make the cubes pop up from scale 0 % to 100 % but i want them to gradually scale up or down during 10 frames.
In fact, the cubes launch a ray and intersectRay see if the ray hit the plane surface. I want when the ray hit the plane the cube grows up by 10% per frame to 100 % and when the ray stops to hit the plane the cube gradually grows down by 10% per frame to 0%.
This is my actual script :
DependsOn $Plane001 varRay = intersectRay $Plane001 (ray $Box001.pos [0,-1,0]) if varRay != undefined then return [0,0,0] else return [1,1,1]
Do you have an idea to do this kind of effect ?
Thank you for your help.