My "Basic" ai code has a problem

Blitz3D Forums/Blitz3D Beginners Area/My "Basic" ai code has a problem

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.

;move enimie
if Dist=5 and spotted$="True"
PointEntity terror,camera
MoveEntity terror,0 ,0 ,0.05
endif

Ok the problem with this code is that when the enmey object Begins to move towards the player, it also tilts At unwanted angles (the camera Angle) How Can i stop The Object From Tilting As it Moves?