camera follow problem [again :(]

Blitz3D Forums/Blitz3D Programming/camera follow problem [again :(]

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.

YES THANKS,

I was looking for that , at this moment I was busy with the castle code

Function player_camera()
	dx#=EntityX(c_target,True)-EntityX(camera,True)
	dy#=EntityY(c_target,True)-EntityY(camera,True)
	dz#=EntityZ(c_target,True)-EntityZ(camera,True)
	
	TranslateEntity camera,dx*.1,dy*.1,dz*.1
	
	PointEntity 	camera,heading	
		
	PositionEntity 	c_target,0,0,0
	ResetEntity 	c_target
	PositionEntity 	c_target,0,0,0
End Function


and the other stuff .

but your script is the best :) !

Again Thanks,
GC-Martijn