hey,
i have an actor , a ball , who ,when he collides with the player , rolls away. now i want to make him slowly stop after maybe 5 seconds. how do i do it?
thanks
// your collision code
collide.slow_down = 1;
if(slow_down==1)
{
directional_velocity=directional_velocity*0.99;
if(directional_velocity==0)
{
slow_down=0;
}
}
if(green_points.textNumber==10)
{
green_points.textNumber=0;
}
whats wrong?
Users browsing this forum: No registered users and 1 guest