I've noticed that pluginizing it made it less customizeable. Specifically, I'd like to make something similar to RealMYST for a template - holding left mouse button goes forward, clicking makes actions, holding right mouse button goes backward, clicking it makes another action. But now it seems all I can do is set 4 movement keys - I have no function for moving forward/backward. I could have done it in previous versions, but not any more. Do you think you could look into it, please? Pretty please?
And let us know at least the code for moving the camera around like in your ISpy3D demo even if you don't get around to including it in the module.
EDIT - Yeah, I can use setcameraposition all I want, but I like your acceleration/decceleration effect and would like to benefit from it...
EDIT 2 - I tested out adding these two lines:
[code]if (keycode==65) Ags3d.SetCameraRotation(Ags3d.GetCameraHeading()-2.0, Ags3d.GetCameraPitch(), Ags3d.GetCameraBank());
if (keycode==66) Ags3d.SetCameraRotation(Ags3d.GetCameraHeading()+2.0, Ags3d.GetCameraPitch(), Ags3d.GetCameraBank());[/code]
The results weren't what I had hoped for - a camera that moved more to the side as I pressed the key. ANd testing it it seems that it might be because the mouselook isn't actually changing the camera's rotation? I don't know. Try it yourself.