I am trying to thread in C# and I am not used to C#, I program in Java.
I need to be able to have my AI pathfind while moving on a path. I am using arongranberg’s A* path project by the way.
I am new to the pathfinding part of game programming, so any help would be appreciated.
Apologies for hijacking this thread, but this is somewhat relevant.
I’m rendering 500 or so indices on the fly (by creating and going through 32^2 vertices) and I’m experiencing a ‘jerk’ when these pieces of mesh are being generated. Is there any way to thread it not do this?
I’m curious if I’m jerking on the actual vertice part where everything is added to the list or if it’s this:
the jerking is pretty surely just one line and thats the recalculate
if you feed it with the normals and don’t recalc it should go better.
but actually you can not thread any of this here aside the “ToArray” call, the rest is accessing a unity mesh and that can only happen from the normal thread