Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sit on a physic object

Delu Elytis
Puppy
Join date: 30 Oct 2005
Posts: 22
11-23-2006 20:13
I've a physic object that uses llMoveToTarget to travel between a set of way points on water, using llSetForce to counter gravity.
Whenever I sit on it, it turns around making me be under the water surface. How do I prevent this from happening?
_____________________
Pet to Master Nerikull Murakami
Custom Builder
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-23-2006 21:08
Make it wider and longer or lock the axis using:

llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z, FALSE);

If you need one of the axis then just take it out. FOr example:

llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Z, FALSE);
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
11-24-2006 00:25
Haven't tested this, but you could also try adding a material type metal or stone 'keel' to the vehicle's bottom, the extra weight might prevent the avatar from flipping it over. :)
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
11-24-2006 01:14
A keel might help.

Sadly changing materials doesn't change density of objects, or didn't. It does change bounce properties and things.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Delu Elytis
Puppy
Join date: 30 Oct 2005
Posts: 22
11-24-2006 01:14
Thanks Jesse, that worked. ^^

That's an interesting idea Jopsy, could be used for boats if it works. ^^
It wouldn't work with the object I made tho, as it travels trough a shallow stream.
_____________________
Pet to Master Nerikull Murakami
Custom Builder