So I am remaking the infamous game everyone knows and loves. “Build to survive the zombies”. I have already made a majority of the zombies except the flying zombie.
I want to make the zombie fly towards a player. I also want it to be achieved via bodymovers or bodypositions or bodyvelocities. Cuz raycasting and using CFrame probably isn’t the best way to go about things in this situation.
Basically, the AlignPosition tries to make Attachment0 copy the position Attachment1. Set the MaxVelocity to change the speed.
If you use the PrimaryAxisLookAt mode of the AlignOrientation, it makes Attachment0 look at Attachment1.
EDIT: If the Orientation is wrong, say the zombie flies sideways, adjust the orientation of the From Attachment.
I think you should go with cframes and raycasting, its probably less overhead if you have several zombies considering you don’t really need to rely on the physics system