Jump to content
You are about to reply to a thread that has been inactive for 4214 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Posted

I am trying to establish an upper level in a pair of attached regions.

If I take the supidly optimistic approach of just walking from one sim to the other, the avatar will fall through the floor of the new sim. I am assuming this has to do with collision detection between the avatar (that is emmerging from the previous sim) and the new sim's platform (prim).


I was thinking that it might be possible to use a scripted walkway to handle this situation.

Any thoughts on which direction to go.

I could use a train like object and have the avatar sit on one side then stand on the other.

But, I was hoping for a solution that would be transparent to the player. There is nothing in the story line of the sims (at the moment) that makes sitting in the middle of a forest path make sense.

 

Regards,

 

Posted

The way it's normally done on the Linden roads and similar situations is that they place one prim on one side of the border that extends across the sim border and another that does the same thing on the other side. The prims will overlap at the crossing and avatars won't fall through because the viewer will always realize there's a prim under the avatar.

Posted

This isn't an LSL problem as much as a building problem, but one that has a solution nevertheless.

 

The problem is, as you stated- the avatar falls through the floor after making the sim crossing. This is because, on the hand off between the sims, it takes a moment for the viewer to "find" the prims on the other side of the boundary. The work around for this (used by the Lindens btw for their large, multi-sim special event gatherings) is to extend prims from both sides into each others' space.

 

To do this, each sim should have a root prim completely within its sim that is linked to the "extension" prim, which would be your walkway. This extension should then project 10-20 meters into the other sim and overlap the corresponding extension from the other side. To avoid z-fighting of textures, one extension should be positioned a little lower than the other OR you could do half-transparent textures on both, with the visible halves abutting each other.

 

Note that this works most of the time but, as with any sim crossing in SL, sometimes it just won't and the avatar will wander off into the sunset or go head over heels across the next 5 sims. Also, there are times when adjacent sims are blind to each other and one can't even walk on land from one to the next. But when it does work, it is completely transparent to the user other than a slight rubberbanding effect.

 

[ETA: Must learn to type faster! lol]

Posted

This classic video tutorial by Torley Linden explains the solution

 

 

My fix for the "z-fighting" to which he refers would be to make one of the affected prims 100% transparent rather than tinkering with the size.

Posted

Thank you all for the responses.


Very helpful.

I tired the extended prims -- to no success.

But now, armed with the keeping the root prim fully in its own estate, I feel that all will be well.

And I like the transparent trick for the flicker. I'd been making one prim slightly smaller or lower. Duh, the transparent is obvious. Thanks.

 

You are about to reply to a thread that has been inactive for 4214 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...