Hi all,
I have a conveyor belt for users in airport with this script working in
0.8.2.1 version but do not work in the new version with region
physics = ubODE.
Some idea for solve this?
default
{
state_entry()
{
llVolumeDetect(TRUE);
}
collision( integer num_detected )
{
float descripcion = llGetObjectDesc(); //miramos el valor puesto
en la descripción del objeto.
llPushObject(llDetectedKey(0),<descripcion,0,0>, <0,0,0>,TRUE);
} // empujamos al avatar detectado al colisionar y lo empujamos en
el eje x con la fuerza indicada en la descripción del objeto.
changed(integer EVENT)
{
if (EVENT & CHANGED_REGION_START)
{
llResetScript(); //restart si se reinicia la región.
}
}
}
_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users