Smart turning

Blitz3D Forums/Blitz3D Beginners Area/Smart turning

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.

dx#=EntityX(player)-EntityX(a\entity, 1)
dy#=EntityY(player)-EntityY(a\entity, 1)
dz#=EntityZ(player)-EntityZ(a\entity, 1)
AlignToVector a\entity,dx,dy,dz,3,.25


The above should work, assuming a\entity is the turret parented to the enemy.

Stevie