CODE
default
{
on_rez(integer x)
{
llResetScript();
}
state_entry()
{
llSetStatus(STATUS_PHYSICS,TRUE);
llSetStatus(STATUS_PHANTOM,TRUE);
llCollisionSound("c02681b3-52f3-dfa0-416b-3f414fb01aef",1);
}
land_collision_start(vector x)
{
llSetStatus(STATUS_PHYSICS,FALSE);
llSetPos(llGetPos() + <0,0,1.25>);
llSetStatus(STATUS_PHYSICS,TRUE);
}
}
The problem I have with this script is that it uses 'land_collision_start' and therefore only reacts to the ground. It can not be used on any other surfaces.
So, how can I recreate this movement but have it react to any (non-physical) surface under the bouncing object?
All my attempts so far have been either miserable failures, or have been too jerky to be convincing.
Thanks in advance!
