Monday, 18 October 2010

Week 5: Making a tin object with desired with physics effect after the rez colliding with the tin.

I Made a tin object with physics, along with all the tins placed on the table. Upon hitting the bullets, the objects tend to fall down and cause physics effect:



After collided, as you can see the objects have fallen down with physics and upon pressing the reset button the objects are spawned back again. The screen shot below shown is the physics script embeded in the tin object Cylinder:

 default
{
    state_entry()
    {     
    } 
       collision_start(integer total_number)
    {
       llSetStatus(STATUS_PHYSICS, TRUE);
    }  
}

No comments:

Post a Comment