matbab
(matbab)
March 7, 2024, 2:11pm
1
Hi,
I continue to learn the basic game making and I’m trying to make a kind of Space invaders.
I’m now trying to make the alien moving left to right but It doesn’t move at all.
I put a NavMeshBoundsVolume and the Alien is inside
In my Alien BluePrint, which is a Pawn, I specified the AI Controller Class
As the Alien did not touch the Floor I put a FloatingPawnMovement And check the can Fly (I’m not sure if this is necessary by the way)
And that’s what I did in the AI_AlienMove, I just put a timer and under a certain time I take the position from the alien and move it a little on the X axis but my logic is not working or I configure something wrong and I don’t see it
Thank you
Hello,
The NAVMESH doesn’t work for air movement. It only has 2D ground functionality.
If you want air movement, you can check out these plugins:
Simple but highly customizable plugin for pathfinding. Find paths in free 3D space, on ground, on walls, 2D grid, or even 2D side scrolling with jumping. Easy default setup with examples, core features exposed to blueprints.
Volumetric pathfinding for Flying A.I. bots to navigate complex aerial corridors, aerial obstacles, 6 D.O.F 3D-mazes, etc. This fully dynamic solution supports procedural worlds with ever-changing collision geometry and other advanced use-cases.
1 Like
matbab
(matbab)
March 8, 2024, 8:06am
3
Ok,
Thank you, I did’nt know it’s not working with flying object.
I’ll let you kow
thanks again
matbab
(matbab)
March 8, 2024, 9:14am
4
Hi,
As the game is in 2D I just turn my scene on the X Axe, and now everything touching the ground and it’s working.
Sometimes the simpler solution is the better^^
Thank you
system
(system)
Closed
April 7, 2024, 9:14am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.