0
\$\begingroup\$

https://github.com/libgdx/gdx-ai/blob/master/tests/src/com/badlogic/gdx/ai/tests/steer/box2d/tests/Box2dRaycastObstacleAvoidanceTest.java

Literally, I copied the core avoidance code. But substituted the wander with arrive behavior. Now whenever the steering agent comes across a wall, it starts to jitter alot. and the raycast goes berserk.

Can someone give me a clue what could have gone wrong here?

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.