I just started putting the final peaces of my games pathfinding together~ But sadly I seem to have run it to another issue:
I got rid of my PlayerUnits CharacterController’s and ridged-bodies if favor for the RVOController and a RVOSimulator but sadly i’m having a few issues~
After reading the A* pathfinding local-avoidance documentation I added the RVOController, but its doing some strange things:
When I start the game, anything with a RVOController stutters on the Y axe for a few seconds, moving down about 6 units then back up 7 until settling back where is started
When ever I send move commands to the RVOController is a extremely jittery,
I have to use very large multipliers for the movement on the move command (what was 10 on the CharacterController, is 1000 on the RVOController)
And when I stop passing move commands to the RVOController … it just keeps of going!!
Anyway, If someone has a proper implementation of local avoidance and can shed some light on what im doing wrong that would be great!!
Are you using any colliders on the GameObject? That could mess up the raycasting.
You can try to open the RVOController.cs script and replace the If looking like
possibly commenting out the things inside the IF.
That would remove raycasting (hm… maybe I should add a toggle for that).
I did a little poking around~ And I see 2 strange things the RVOController is doing (#1 its jumping up and down on game start) and (#2 If a physics collider hits something, it try’s to teleport over and through it)… And this has nothing to raycasting it seems, I can comment out that whole code and it does not change anything ~
So far I fixed all the issues stated above by moving the RVO controller to a child object at 0.0.0 so that it is not above the graph~ Originally it was a 0.+3.0, but sadly this does not work with a Raycast-simplifier + RVOcontroller.
But im still having a few other issues… I will let you know when I can give a better report on whats going on… I also have a edited RVOcontroller with some small changes (RayCast toggle, and locked when not moving) If you want me to send that to you??