Homing missile

Blitz3D Forums/Blitz3D Programming/Homing missile

The only problem you get with that is at certain points the missile will flip round suddenly when one value crosses between 360 and 0.

A more succint way of doing this which works very smoothly for me, is to have a pivot as a child of the rocket. Every frame, point the pivot at the target using PointEntity, then you have the exact yaw, pitch and roll differences. Then you can turn your rocket based on that.