Jump to content
  • entries
    50
  • comments
    173
  • views
    104,654

Leadwerks 3.2 Indie : Proof Of Concepts & Several Tests.


Marleys Ghost

5,716 views

 Share

blog-0474827001404476292.jpgTo prevent non Leadwerks Engine specific/Related entries from my Blog being automatically published here via the Blog Feed, I have removed that functionality, and will simply add a new entry title and link here for all Leadwerks Engine specific/Related entries.

 

 

 

 

Leadwerks Related Blog Entry.

Leadwerks 3.2 Indie : Proof Of Concepts & Several Tests.

  • Upvote 6
 Share

15 Comments


Recommended Comments

Hey Jorn, that was one of the "tests", there is very little information on what has and conversely not been implemented with recast and detour. Detour is a pathfinding and spatial reasoning toolkit, if memory serves (it does now an then even at my age!) I think the spatial reasoning uses entity velocities to calculate avoidence steering, hence if the player stops they will bump into him. With so little information about the intergration into LE3.x though I am just guessing.

Link to comment

Just out of curiosity, are you setting the player and the NPCs 'SetNavigationMode' to true? I am curious if that will make the NPCs take the player into account when following a path. Or is this command only for static objects?

Link to comment

Hey Mack, as far as I could workout, and could be wrong, SetNavigationMode is for static objects which will (or will not) effect the building of the navmesh, I don't think its "dynamic", I am not setting it true on the NPC's. I'd imagine its all handled via detour and however thats been intergrated into the character controller. But again with so little info on the subject I am just guessing.

Link to comment

Hmm good to know as like you said there's so little information available. But I vaguely remember Josh showing a video of dynamic pathfinding during the pre-LE3.0 days - dynamic meaning that objects actively finding new paths as the something new was introduced into its current path.

Link to comment

I think its all changed since 3.0, but how and what to is just speculation.

 

 

With the current way its done I understand the argument for a controller not being over a certain height or diameter but not being able to resize below those parameters makes no sense. There is very little control over the system. I do hope soon there will be more information on this functionality.

Link to comment

Interesting stuff. I have been making the steering behavior for my NPC's this week. I didn't take in to account that recast perhaps already uses steering controls.

 

As per the terrain update in 3.1, dynamic navmesh generation is disabled. You now have to generate in the editor or call the API call manually.

Link to comment
As per the terrain update in 3.1, dynamic navmesh generation is disabled. You now have the generate in the editor or call the API call manually.

 

Really? was that because it took too long to recalculate on terrains in general or large ones? I'd have thought rather than disable dynamic navmesh generation simply have its default as we have it now with dynamic navmesh generation an option that is selectable and not penalise those who are not using large terrains.

  • Upvote 1
Link to comment

Agree with that statement MG. Seems a waste considering that was one of the big advantage/selling point for recast/detour. I guess we can throw a raycast check continuously in front of all our NPCs like we did with Astar... but seems a waste considering recast/detour has the ability to take care of this problem.

Link to comment

The dynamic nav mesh was taken out before any of the performance bugs were fixed. Maybe now would be a good time to check and see if dynamic nav mesh works better with the higher frame rate.

Link to comment

Luckely you can still call it though.

I would like to see an example in lua where this can be done via another thread because at the moment it causes a ridiculous glitch. And can this be done to a NavMesh that was already created in the Editor or would you have to forsake the Editor version?

  • Upvote 1
Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...