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);
}
}
{
state_entry()
{
}
collision_start(integer total_number)
{
llSetStatus(STATUS_PHYSICS, TRUE);
}
}
No comments:
Post a Comment