Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Physical Prims Fall Through Platform on Rez

Exel Desoto
Registered User
Join date: 25 Apr 2006
Posts: 14
08-14-2006 21:34
When I rez a cube, that has physics turned on, from inventory onto a building platform in the sky, it falls through. I have to make a thin plywood rectangle a meter or two off of the sky platform and rez the prim onto that. It falls through the plywood but stops on my building surface.

To prevent this, I have been de-selecting Physics before taking the prim into inventory. Is there another way?

Thank you,
Exel
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
08-15-2006 16:21
um you could do it with a script in it so on_rez it would move up first
so it would have time to fall before hitting floor
CODE
// on_res move up

vector up = <0,0,1>; //distance to moveup use negative for down, z axis

vector pos;

default {
on_rez(integer start_param)
{
pos = llGetPos();
llSetPos(pos + up);
}
}

-LW
Exel Desoto
Registered User
Join date: 25 Apr 2006
Posts: 14
Thank You
08-16-2006 12:55
Thanks for the script Lightwave! It might be the only way to keep the object from falling through on rez.
Azurei Ash
The Sticky!
Join date: 12 Jan 2006
Posts: 38
08-17-2006 09:44
Actually, there may be a simpler way.

Just put yourself in Build/Edit mode (so long as you have the build/edit window open, I usually just hit the build button or right click on the nearest object and hit edit) and then rez the object. This will cause the focus of your building/editing to be on the object you just rezzed, and thus it shouldn't fall, you can then position it yourself.

~Az
Bree Giffen
♥♣♦♠ Furrtune Hunter ♠♦♣♥
Join date: 22 Jun 2006
Posts: 2,715
08-19-2006 11:22
How high is your platform? I think at above a certain height all the objects behave strangely. I've also had strange things happen when my platform is sitting partially outside the sim or between two sims.
_____________________
Fox Oxbar
Registered User
Join date: 14 Aug 2006
Posts: 14
08-22-2006 11:49
You can also try attaching the object to yourself, then dropping it. Works for me :)
Exel Desoto
Registered User
Join date: 25 Apr 2006
Posts: 14
Fixed the problem, sort of
08-24-2006 17:37
I would like to thank everyone for the suggestions.

Azurei: Being in edit mode prevented it from falling through. Thanks.

Bree: The problem happens with a deck I have on the water and the same for a platform at 750.

Fox: Attaching and dropping worked well, thanks.

The major problem was the object is for a class I am working on and the initial creation worked well but when the student would take the object into inventory then rez it later, they would have problems.

I will pass the suggestions on to the class for their future needs when working with physical objects.

The solution for this class project was to have physics turned off until the object was touched. The object is rezed, then touched to use, and physics is turned off after a few seconds, that plus a llDie is executed after 5 minutes just in case...

Thanks again,
Exel