Homing missile

Blitz3D Forums/Blitz3D Programming/Homing missile

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I used to be able to get my missile to home into a target, but somehow it doesnt work anymore, dunno what i changed that made it not work anymore but anyway, heres how i did it:

i create the missile with a pivot not parented to the missile, it is then repositioned every cycle to the missile.
the pivot then points to the target and i use:
turnentity missile,entitypitch#(pivot,1)/25,entityyaw#(pivot,1)/25,entityroll#(pivot,1)/25

and then move the missile along its Z axis. has anyone tried that method? i seem to have forgotten something