|
Karandas Banjo
Registered User
Join date: 7 Jan 2005
Posts: 35
|
12-02-2006 12:57
I'm working on these little boats that drive themselves, and I've got the navigation working except for one thing, which is detecting the edges of the world. Basically I can't find a way that will detect if a location just in front of the boat is off world. llEdgeofWorld is incredibly useless at this, as it just tells you if the sim border in a certain direction is the edge of the world. Is there any way to detect void sims without it making my boats do a complete U-turn the moment they enter a sim with a world edge? Thanks 
|
|
Foo Spark
alias Bathsheba Dorn
Join date: 8 Nov 2006
Posts: 110
|
12-03-2006 17:17
From: Karandas Banjo Basically I can't find a way that will detect if a location just in front of the boat is off world. llEdgeofWorld is incredibly useless at this, as it just tells you if the sim border in a certain direction is the edge of the world. Is there any way to detect void sims without it making my boats do a complete U-turn the moment they enter a sim with a world edge? Thanks  One reason this may not be attracting answers is that a void sim is not the same thing as the edge of the world. I don't know the answer, but if you could rephrase the question with a greater awareness of that, it might be more answerable.
|
|
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
|
12-03-2006 18:56
Maybe your boat could rez a little drone (timed to llDie() after 15 secs) and have it fly into the next zone and report when it go there. If it reports ok, then you go there, if no report, turn in another direction!
|
|
Kage Seraph
I Dig Giant Mecha
Join date: 3 Nov 2004
Posts: 513
|
12-03-2006 19:28
From: Karandas Banjo I'm working on these little boats that drive themselves, and I've got the navigation working except for one thing, which is detecting the edges of the world. Basically I can't find a way that will detect if a location just in front of the boat is off world. llEdgeofWorld is incredibly useless at this, as it just tells you if the sim border in a certain direction is the edge of the world. Is there any way to detect void sims without it making my boats do a complete U-turn the moment they enter a sim with a world edge? Thanks  Jeffrey Gomez's pathfinding script does a bit of edge handling... /54/ea/44148/1.html
|
|
Damien Took
Meat Popsicle
Join date: 3 Dec 2004
Posts: 151
|
12-04-2006 08:10
If the resource that Kage pointed out isn't enough then let me know. I have a script that autopilots something around the skies and avoids the edge of the world and not so script friendly sims. It also allows you to program in a list of specific sims in cases where detection won't work.
|