Elite NPC movement

Blitz3D Forums/Blitz3D Programming/Elite NPC movement

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.

You mean you just want the ships to have the same roll so neither is upside down relative to the other? Makes sense to me that you'd adjust the roll of the targeting ship to match the target's roll and then you'd use:

DeltaPitch(ship, target) 


to get the pitch the ship should be at to be facing the target and slowly adjust it's pitch until DeltaPitch equals zero.