Applies impulse and ang_impulse to object target

Syntax

void llPushObject( key target, vector impulse, vector ang_impulse, integer local );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

key target
avatar or object UUID that is in the same region
vector impulse
Direction and force of push. Direction is affected by local.
vector ang_impulse
Rotational force.
integer local
boolean, if TRUE uses the local axis of target, if FALSE uses the region axis.

Caveats

Examples

// Pushes the collided object or avatar.
default
{
    collision_start(integer num_detected)
    {
        llPushObject(llDetectedKey(0),<0,0,100>, <0,0,100>, TRUE);
    }
}