Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Setting Physics Properties?

Spirit Mistral
Registered User
Join date: 2 Nov 2005
Posts: 10
01-13-2006 20:26
Can someone tell me how to set the physics properties of an object. I am especially interested in setting mass (or gravity) to 0 or slightly less.
Cottonteil Muromachi
Abominable
Join date: 2 Mar 2005
Posts: 1,071
01-13-2006 23:21
When you edit the object, you can turn on 'physics' in the edit menu. It normally results in the object falling onto the floor. All prims by default have physics turned off, so no physical calculations are acted upon them. You can think of them as having infinite mass and inertia.

There is currently no way of setting an objects mass. It is more related to the size of the prim or group of prims and whether it is hollowed out. So basically, larger prims have larger mass. Changing the material will not help. Just gives a different collision sound.

You can however change its buoyancy using the llSetBuoyancy command in a simple script. Make sure the object is set to physics.

default
{
state_entry()
{
llSetBuoyancy(0.9);
}

}



But be careful as your prims can just fly all the way into the sky. Can read more here.

http://secondlife.com/badgeo/wakka.php?wakka=llSetBuoyancy