Camera Switch

Blitz3D Forums/Blitz3D Programming/Camera Switch

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.

EntityParent camera, car\entity
PositonEntity camera,0,30,-10
RotateEntity camera, 45,0,0

Make sure the car is not entityscaled or the camera will be as well.

Alternatively.

Tformpoint 0,30,-10,car\entity,0
PositionEntity camera,tformedx(),tformedy(),tformedz()
pointenttiy camera,car/entity ; or use aligntovector.

Alternatively, and for a bit more variety use something like
http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=798
There are others.