Create a flying NPC?

I have created an NPC that flies. It’s a custom R6 rig (it has a head, torso, wings, and an articulated, multi-jointed tail that it uses to attack players). The idle animation is done and all that works. The question is now how to make it fly to the player? I can do with with a normal non-flying NPC all day long. However, a flying NPC has an added component where the height above the ground also changes.

I found this thread on here, but BodyPosition and stuff are depreciated.

I would like to path this NPC so it basically dive bombs the players and lashes at them until either the player is dead or the NPC is dead. Since there’s a very toothy mouth at the end of the tail, when the player gets to below 10% health, I would like the NPC to basically bite the player’s head off (the killing blow).

How would I go about doing this?

1 Like