llPushObject problems

Creating scripts
Post Reply
User avatar
Iain McCracken
Posts: 21
Joined: Thu Feb 21, 2013 6:35 pm
Has thanked: 21 times
Been thanked: 4 times

llPushObject problems

Post by Iain McCracken »

I'm having new problems with llPushObject -- that is, scripts that behaved as expected a couple of weeks ago now do not work. No changes made.

Here's a simple example:

Code: Select all

default {
    touch_start(integer count) {
        llPushObject(llDetectedKey(0), <5000,0,800>, <0,0,0>, FALSE);
    }
}
Now, this script pushes the avatar straight up, ignoring the X part of the impulse. It used to push the avatar up and sideways.

I have another script that unsits an av then pushes it, which used to work fine, and now doesn't push the avatar at all at all.

Any ideas?
User avatar
Ilan Tochner
Posts: 5788
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 3621 times
Been thanked: 3778 times
Contact:

Re: llPushObject problems

Post by Ilan Tochner »

Hi Iain,

What physics engine is your world using? Did you keep it on ODE or did you change it to Bullet?
User avatar
Iain McCracken
Posts: 21
Joined: Thu Feb 21, 2013 6:35 pm
Has thanked: 21 times
Been thanked: 4 times

Re: llPushObject problems

Post by Iain McCracken »

Hi Ilan

The physics engine is ODE.

Iain
User avatar
Ilan Tochner
Posts: 5788
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 3621 times
Been thanked: 3778 times
Contact:

Re: llPushObject problems

Post by Ilan Tochner »

Please create a new box prim and place that script inside it to see if it functions as you expect it to. I'm trying to rule out permissions as being the cause of the problems you're encountering.
Post Reply