Camera behind a moving object (tomb raider style)

Blitz3D Forums/Blitz3D Programming/Camera behind a moving object (tomb raider style)



H!

I saw today that making a good camera isn't easy :S
I try some things with pivots but i don't see what i'm doing really.

I tryed to use/edit the mario64camera script but there is too much crap in it.

How can I make a good camera that is behind the player and stays there , and when the player goes left/right then the camera yaw (like the image) behind the player.

Please a super simple code that I can use.
Thank You very Much
GC-Martijn