has anyone implemented a good freelook camera using the Irrlicht mods? (or in Irrlicht itself?) ie. you can pitch, roll, and yaw? i can move the camera without a problem, but im having an issue getting it "look" around easily.
thx.
thx.
' causes the cam to look forward based on current cam orientation Function updateCam(cam:T_irrICameraSceneNode) Local m:T_irrMatrix4=T_irrMatrix4.create() ' get the current rotation of the camera m.setRotationDegrees(cam.getRotation()) ' transform the up vector based on the current rotation Local u:T_irrVector3df=T_irrVector3df.createFromVals(0,1,0) m.transformVect(u) cam.setUpVector(u) ' transform the target point based on the current location and rotation Local v:T_irrVector3df=T_irrVector3df.createFromVals(0,0,100) m.transformVect(v) v.PlusEq(cam.getPosition()) cam.setTarget(v) EndFunction