Homing missile

Blitz3D Forums/Blitz3D Programming/Homing missile

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

If you use deltayaw and deltapitch (assuming you don't really need to know the roll) then there is no need to have the separate pivot. The following should work.

where target is your target entity

turnentity missile, deltapitch(missile,target)/25,deltayaw(missile,target)/25,0


I understand that the two (undocumented) delta commands return values from -180 to 180.