Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
210 views

How to create follow leader behavior?

Assume that this behavior has Separation behavior. I tried to implement the FollowLeader behavior from this article. In the code ...
ronscript's user avatar
  • 501
1 vote
0 answers
65 views

Best way to create defence(withdraw) algorthim libgdx?

I have created user body and enemy body. Enemy body uses the steering behavior created by gdx AI. User body have it own control inputprocessor. World doesnt have gravity. Enemy body arrives the user ...
Muhammed Yalçın Kuru's user avatar
0 votes
1 answer
713 views

Raycasting. Corner trap

In my top-down game character moves to target (pathfinding) also avoiding obstacles with Raycasting(Central ray with whiskers), but situation like on picture causes shiver and unneeded turning (...
Andrei Yusupau's user avatar
1 vote
1 answer
690 views

FollowPath steering behavior

I'm having a problem with AI movement in my top-down game. AI builds path and than moves using libgdx FollowPath (this problem is still actual) steering behavior. I have some solutions, but can't ...
Andrei Yusupau's user avatar
2 votes
2 answers
325 views

How to stop Follow Path steering behavior when reached target?

I'm using libgdx Follow Path Steering Behavior in my top-down game. When unit reaches the end of the path, it goes to the start (not directly, but following path), then to the end and so on. How to ...
Andrei Yusupau's user avatar
4 votes
1 answer
2k views

Steering behaviours: collision avoidance with rectangles

I'm trying to implement collision avoidance steering behaviour using rectangles. Most of the tutorials I've found are with circles, and there's a substantial difference. For example, I've been reading ...
Victor Buendía's user avatar
1 vote
1 answer
247 views

How can my entities avoid walking on certain tiles?

In my tile map, created with 'Tiled', I placed some tiles that need to be avoided by my mobiles. Tiles like water or obstacles. The entities "wander" in the map, choosing random directions, and their ...
felipe's user avatar
  • 397
0 votes
1 answer
734 views

Steering in top-down racer with Libgdx

I'm a beginner in game development and as a little project I thought I should try to do a top-down racer game much like the good old Slicks n Slide. I've seen several tutorials and questions about ...
Johan Karlsson's user avatar
3 votes
1 answer
2k views

Conceptual - What is the optimal way to combine steering behaviors with rigid body physics?

I am working on a simple 3D space simulator that makes use of the Bullet physics engine. The spaceships are rigid bodies that have a mass and hitbox so that they can be considered for collisions. At ...
Dashto's user avatar
  • 307