EntityCollide works but then...

Blitz3D Forums/Blitz3D Programming/EntityCollide works but then...

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.

Writing a camera system is harder than it looks, but a very simple parented camera goes something like this:

object = CreateCube ()
cam = CreateCamera (object) ; Make 'object' camera's parent...
MoveEntity cam, 0, 1, -10 ; Move camera up and back from cube...


Now instead of moving the object *and* the camera, just move the object and the camera will follow, as it's attached to its parent. This isn't a very good camera system, but it should explain what joker means by parenting the camera to the object...