Nightmare Kart DLC Dev Update 2024/12/1
Added 2024-12-02 03:49:53 +0000 UTCMade a rudimentary true flight NPC navigation system for today's Nightmare Kart update!
The system simply turns the flying harpy towards their target and impulses forward, pitching up or down to get over / under an obstacle using a simple trace system. It can't turn left or right to move around obstacles as true path-finding in 3D space wouldn't be worth the many many hours of programming required to program IMO.
That being said, if the harpy bonks into a wall it will either play a 'jump up' animation so it can vault over, or a 'jump back' animation which will turn them around so they can continue attempt to chase the target.
This means that, while the harpies can't truly navigate in a predictive way, there are enough contingencies to get them to chase down the racer in a way that still makes them a threat.
Comments
thank u daisy! i do want to make a true 3d pathfinding system some day, as perhaps a more central feature. this dlc enemy is kind of a safe low stakes environment for me to cut me teeth on :)
LWMedia
2024-12-02 04:55:29 +0000 UTCi love seeing you talk about solutions that are economical for your time!! the effect still looks more than suitable with just a few key decisions, it's awesome
Daisy
2024-12-02 04:44:57 +0000 UTC