Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

increase mass?

Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
01-09-2005 14:30
Is there any way to increase a prim's mass without having to add more prims? I find SL's material types to be VERY light. Stone should be MUCH heavier. It would just be better to have a way to specify a prim's mass instead of having to rely on more/hollowed prims, etc.
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
01-09-2005 15:08
Easy! Simply change the gravitational constant of the universe! :D

Er... no, sadly, I don't know of any way to directly change the mass of a prim or object. You could probably use llSetForce() on the object to increase the downward force acting on the object, which would make it weigh more...
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
01-09-2005 15:11
You could also scale your prim using llSetScale.
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
01-10-2005 01:52
Well, SetForce tends to make the prim/object "bouncier" (not settle into place very well so it vibrates/shakes/jitters around, and even stop at an angle when not fully touching a surface--it's odd). SetScale isn't what I want since that will change the size, right? What I really need is a SetMass function... SetBuoyancy doesn't work in negative amounts either. :/
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
01-10-2005 03:08
a negative amount for llSetBouyancy would make it float in the air.
_____________________
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
01-10-2005 03:10
From: Rickard Roentgen
a negative amount for llSetBouyancy would make it float in the air.


Shouldnt that make it sink? It's 1.0+ that makes it float. :)

-Adam
_____________________
Co-Founder / Lead Developer
GigasSecondServer
Issarlk Chatnoir
Cross L. apologist.
Join date: 3 Oct 2004
Posts: 424
01-10-2005 03:51
I think I read somewhere (wiki? forum?) that twisting a prim changes its mass sometime.
_____________________
Vincit omnia Chaos
From: Flugelhorn McHenry
Anyway, ignore me, just listen to the cow
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
01-10-2005 03:58
No, a SetBuoyancy of 1 will make it "float". 0 will make it normal, and anything in between makes it lighter but will still sink. Negative values have no effect, I've found.
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
01-10-2005 07:49
Uh...

What you need to do is SetBuoyancy to something like 2. That'll make it "heavier".

*mutters*Negative numbers... Psh.
_____________________
</sarcasm>
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
01-10-2005 07:53
Uhh... I just tested this. Negative numbers have a profound effect. They work just fine.

Except they do the same thing SetForce does.
_____________________
</sarcasm>
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
01-10-2005 20:05
Weird! Coulda sworn I tried them before and didn't notice any effect. Maybe I only tried -.1 or something. Cool! Now if only the physics engine could stablize the "heavier" objects faster... :/

Need a way to reset the bouyancy to 0 after a specified amount of time after a collision occurs to reduce the stablization jittering, but then need to set buoyancy back to heavier when collided with again, then back to 0 after collisions have stopped...hmm, sounds complicated. Not sure if it would work either...
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
01-10-2005 21:14
From: Adam Zaius
Shouldnt that make it sink? It's 1.0+ that makes it float. :)

-Adam


sorry, right, I should sleep more :).
_____________________
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
01-11-2005 02:14
From: Issarlk Chatnoir
I think I read somewhere (wiki? forum?) that twisting a prim changes its mass sometime.


You probably read something i wrote on energy and/or prim torture. As twist does effect an objects mass, not always in predictable ways. At least you don't have to worry about negative mass prims (grumble grumble hollow restrictions grumble grumble). Hollow only *sometimes* effects prim mass. Hollow is ignored if the hollow mass that is to be subtracted out is greater then the normal mass of the prim (and with twisted shapes this is more often then you might think). I would say more on the issue but i need sleep too.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
01-11-2005 11:43
You should add this to the Wiki, Strife. :)
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
01-11-2005 13:53
It is, it's in one of my comments at the bottom of the page on llSetPrimitiveParams. But i guess i should put it on my prim torture page.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey