Jump to content

Pathfinding... estate only?


Jenni Darkwatch
 Share

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

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

Recommended Posts

You can use normal prim objects, what he was talking about was... object requires mesh's prim accounting weight.

 

As for estate owners, it's part of anti-greif tactic, I believe. Of course, not forget to mention that pathfinding is generally for creating a sim-wide game than having your own "pet".  Cause...  object can't teleport with you.

Link to comment
Share on other sites

I have created some of my own so called path finding tools for things like my fighting dummies, I am making a drone and are making that grid wide, if the new instructions allow sim wide coords then it is not hard to convert them to grid coords, the problem I have found is parcels with no object entry or parcels just in the next sim with no parcel entry, this stops them dead, but it is not hard to convert sim coords to grid coords, all the vector math's works, so they don't have to be limited to less than 256, will be interesting to see, I made the fighting dummy 3 years ago and never updated its engine, in fact I have only needed to slow it down as the sl servers get better

Link to comment
Share on other sites

Right.  No object entry, and no-script.  The pathfinding functions need options to enable navigation avoiding parcels with those settings.  (I don't really know how to test if they already have that ability, on Aditi.)  Otherwise, for Mainland and many other applications, one would still have to use other functions to find a safe path.

Link to comment
Share on other sites

Yes, with a combo of cast ray and setregionpos(small rezzable phantom sensor) I should not be hard to sense the path and into the next sim, would be nice if castray worked across boarders, then rezzable sensors would not be needed, but with a combo of the 2, you should be able to scan the whole grid for paths well ahead of the object.

Link to comment
Share on other sites

That's great news, thanks for clarifying Falcon. I got a little worried there. :)

For the record, I wouldn't mind some kind of registration requirement to get access to some of that functionality (as a creator, not as user), as long as it's a reasonable requirement.

Overall I agree btw, I think functions like that will make content on SL more dynamic. Iif I understand the possibilities correctly, this could also be used for automated vehicles (for touring a sim or creating amusement rides for example). If it's reasonably sim-friendly it could possibly also be used for trivial things like elevators.

Link to comment
Share on other sites


Jenni Darkwatch wrote:

Iif I understand the possibilities correctly, this could also be used for automated vehicles (for touring a sim or creating amusement rides for example). If it's reasonably sim-friendly it could possibly also be used for trivial things like elevators.

I think we already have all we need for the amusement rides and elevators, using llSetKeyframedMotion(), which is very sim-friendly.  Automated vehicles, on the other hand, might benefit from pathfinding, especially if they're supposed to dodge dynamic obstacles (e.g., pedestrians).

Link to comment
Share on other sites

well as someone who has been long anticipating this I have to say im a little dissapointed in it already, Since the server totally controls the movement of the object using the physics engine, and there seems to be no non-physical option for it. As a creator of one of the only popular player vs npc games in sl, having a massive amount of enemies is not viable. from already playing with it on aditi physics load goes real high with very few of them on the sim at once.  If i could simply return a path list and then handle the movement myself i'd be much happier with this..  lets hope that as vincent said  its just like this because its in beta and on aditi servers.

Link to comment
Share on other sites

Hi Josey,

 

The poor performance you've seen is almost certainly due to the fact that the sims are, as Vincent said, running debug code which can easily spend 50ms each frame validating data, cutting frame rate at least in half. In testing, we have measured characters taking approximately 30-50us (microseconds) on average, less than one third of the time slice allocated to each script in the region each frame. The only thing we've seen cause significant performance issues is when half a dozen or more characters pile up on each other. The upcoming viewer tools will allow you to see how expensive each character on a region is and take action accordingly.

 

Falcon

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4447 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
 Share

×
×
  • Create New...