mesh in front of camera

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mcbart
Posts: 19
Joined: Thu Aug 07, 2008 11:36 am

mesh in front of camera

Post by mcbart »

Hi all!
How can i write program where user can moving camera where in front of camera will be mesh and it's going to moving with camera. How can i do this and what kind of camera should i use to this? I exactly mean something like in agility game. Should it be instruction from moving camera and mesh?
B@z
Posts: 876
Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary

Post by B@z »

if you mean tps camera, then go and search the code snippets.

if not, then set the camera for parent of the mesh.
and it will move together.
mcbart
Posts: 19
Joined: Thu Aug 07, 2008 11:36 am

Post by mcbart »

Ok. i made what you said. Camera is a parent of the mesh and all works. I have problem with it, because i can't see a mesh after run program. I did set for them other positions. I'm using FPS camera.
Post Reply