Switching Camera to different Placeholders

BlitzMax Forums/BlitzMax Beginners Area/Switching Camera to different Placeholders

Nevertheless...
Make a cube in Max and give it a certain name you will recognize, then make another cube (if you want to each other primitive should also work), which discribes the position the camera should look. You also should give this cube a name you will recognize..

e.g.
CameraCube name is Cam1
And other cube name is Cam1Direction

Now you can load you exported level (3ds, b3d) to you code.
But there are still no cameras you would say.. Right! This will change now: Just use the FindChild command (e.g: campos = FindChild(level_mesh, 'Cam1') - I am not sure if blitz3d uses "" or '')

now you got the position for your camera, which you will rotate to the right direction with PointEntity to Cam1Direction.

I hope I could help you.