[Opensim-users] Problem with llPushObject in 0.9.0.2 and ubODE
Luisillo Contepomi
luisillo at contepomi.net
Sat Apr 1 09:11:01 UTC 2017
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.
}
}
}
More information about the Opensim-users
mailing list