Posts

Multi-character animations

Wow! Godot .escn exporter for Blender can export scenes with multiple characters, which finally allows a step farther for 3D games. Now it it easy to: * create cutscenes * create character close interactions * lot of other stuff, like openning doors, etc. Shoold speed-up my progress on blendmaps too, as it is easier to manage assets now.
Made CSG meshes work with navmesh generation. Now I finally can have generated roads with navigation, and another todo item is closed. navigation_pr was updated as long as navigation branch
Image
Finally I fixed all navmesh generation errors and can go continue with the rest of features. (Navmesh is drawn in green lines). Now I need to add area tagging and connections, i.e. I move to tile cache now. After that I need to restructure code a bit so that navmesh build code goes to navmesh class, so to be able to run independently of node tree. The code is in navigation branch, have fun.
 Heh another day another offended person. I wonder why this time no mob arrived for revenge? It is quite common scenario - somebody gets "offended" by something minimal, like if I tell them what to do if they ask what to do (no, nothing actually offensive), then grows mob of supporters, nobody hears your side and the whole mob attack you. Now you feel like you will never try to help any person on that channel. This is Discord - everyone is full of themselves, glass souls and attention whores. There is no way out - they choose you as offender. Such communities make hobbies much less fun. It is good that most people are not this way. Good old IRC never had this problem for some reason - maybe more mature audience? Anyway, sad things aside, I do have some progress on navigation - got debug rendering work, now I can find what is the problem with navmesh generation. Also I want to link here my older repository, generator for roadmaps. Might be useful for somebody starting to i
Implemented control via signals.
Image
Fixed issue with incorrect navmesh query results. It was a problem with navmesh bounding box calculation. to merge one AABB to another, use bb.merge_with(), not bb.merge(), as thi later will return new AABB, while former will increase size of existing AABB.  So now I'm going for navmesh visualization and adding agent signal sending (hope it will work with Spatial+script agent)
Image
Finally made tiny little agents work. OMG how many bugs remain, but I do have some progress. Obvious bugs left: For some reason navigations work only in positive quadrent (+x, +y,+z) When higher obstacle is on the path, agents behave like it is small wall they can jump over. Looks like geometry is cut off, need to test this. First thing I need to do now is navmesh debug display, so I could debug thing like this. For the rest: UI integration of everything. API for all agent controls. Probably this comes above, Agent error handling, including removing/adding which is needed when velocity control is not enough. Implement all controls possible and non-physical agent. Physics based control will be implemented later (need to understand more things better for that  Implement distant path checks later, so targets beyond 256 polygons produce no errors. But for now 1000 agents and no FPS drop. YAY! Everything is in repository. The script you can use to test code: extend