Elic Epsilon Posted September 29, 2015 Share Posted September 29, 2015 Ahoy! Thinking I may need some advice on an issue and would appreciate any help. :) I build sailing ships in SL. The ships have a basic following camera view that works great. What I would like to do is script in a switchable camera view angle into the ship so the helmsman can look to the right or left of the ship. The limitation is not to use mouselook but a scripted camera control. I've managed to get the camera position switching to work just fine. The problem is trying to rotate the camera view 90 left or right. Is it possible to script in a camera view rotation? Or will I need to takle this from another angle? :) Link to comment Share on other sites More sharing options...
revochen Mayne Posted September 29, 2015 Share Posted September 29, 2015 Hi Elic! You can change the CAMERA_FOCUS vector to keep your ship in camera focus. If you need a smooth translation, you need to use a for loop or timer to update CAMERA_POSITION until it reached your desired position. There is a free and pretty good example of various camera settings at the LSL wiki. The spin_cam function might be the one of interest for you: http://wiki.secondlife.com/wiki/FollowCam 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