[Opensim-users] Problem with llPushObject in 0.9.0.2 and ubODE solved
Luisillo Contepomi
luisillo at contepomi.net
Sat Apr 1 10:33:32 UTC 2017
The problem was llVolumeDetect(TRUE);
If prim is ghost fail.
New script is now:
default
{
collision( integer num_detected )
{
float descripcion = llGetObjectDesc(); //miramos el valor puesto
en la descripción del objeto.
llPushObject(llDetectedKey(0),<descripcion,0,0>,
<descripcion,0,0>,TRUE);
}
changed(integer EVENT)
{
if (EVENT & CHANGED_REGION_START)
{
llResetScript();
}
}
}
Thank you all.
On 01/04/2017 11:11, Luisillo Contepomi wrote:
>
> 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
> Opensim-users at opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>
More information about the Opensim-users
mailing list