Poltergeist Azarov Posted September 11, 2014 Share Posted September 11, 2014 Hello, when I left mouselook mode during driving the vehicle, camera losts its normal following position then after a while, it resets itself and gets back to the normal position. Now I am thinkin of to reset its position after each leaving of mouse look mode. However I dont really like this scenario, any suggestions? Link to comment Share on other sites More sharing options...
Rolig Loon Posted September 11, 2014 Share Posted September 11, 2014 I don't quite understand which "scenario" you don't like, but if you ever want to reset your camera view to its default, just hit either ESC or Shift + ESC. You can also try F9, which ought to do the same. Edit: If you are looking for a scripted solution, you should be able to use llClearCameraParams as you leave mouselook, assuming that you have PERMISSION_CONTROL_CAMERA set. If you can't predict when you will be leaving mouselook, you can either poll periodically to see if AGENT_MOUSELOOK is TRUE, or you can trigger llClearCameraParams when the av stands up. Link to comment Share on other sites More sharing options...
Poltergeist Azarov Posted September 11, 2014 Author Share Posted September 11, 2014 When I leave mouselook, camera gets too far away sometimes so vehicle needs a scripted camera resetter. The scenario I wasnt tend to use is checking avatar if he is in mouselook. Needed some event which triggers when avatar leaves mouselook or some smiliar easier scenarios. Well, I am just gonna use the one you are talking about. ty Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now