Sit and Play Animation

A simple script that catches the fact that an avatar has sat on an object, on a sit target, and plays the animation stored in the inventory.

The two values for gRotation and gPosition determine the sit target position and will depend on the animation and the object itself.  You can find the appropriate values using a sit-targetting script or by trial and error.  Note that male and female avatars, and avatars of different sizes, may need slightly different values, so you’ll have to experiment with a range of avatars to get a good compromise set of values.

If you are not comfortable pasting scripts from the web into SL you can buy a pre-packaged version of this script on the marketplace, or in-world at my store.

K.

Advertisements

~ by kimmpaulino on May 25, 2011.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: