Basic Mouse and Keyboard Controls in 3D

Hi,

I am currently working on a 3D voxel Terrain and I would like to add some basic camera controls to test some things and I was wondering if anybody has some code lying around to do that. What I want is to move forward, left and right and most importantly to turn the camera with the mouse (e.g. as in most ego shooters).

Links also welcome, thank you!

Hi moka,

Have you tried the ofx3dutils plugin ? or isn’t what you whant ?

you have a camera, wich has tha baseic movements you said .

Hope that helps,

CC

yeah, I just threw that question in the air, I think I will find/write something useful :slight_smile:

thanks