Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Mouselook steering observations

Apotheus Silverman
I write code.
Join date: 17 Nov 2003
Posts: 416
08-09-2004 11:32
I am curious how many people are scripting vehicles with mouselook steering, and I would like to see people's experiences so far in relation to bugs, oddities, and gotchas that have been encountered. The reason for this is that in my own work with mouselook steering it seems to me that there are a few outstanding issues that are keeping mouselook vehicles from widespread use.

1) FUBAR'd camera on sim crossing. Sometimes when I cross sim boundaries, be it in the air or on the ground, the camera goes all wonky and mouselook control is no longer possible until I exit mouselook, cross a sim boundary again, and re-enter mouselook. I have reported this bug to LL.

2) Decoupled camera does not always work? The vehicle I am currently working with has multiple states and modes of operation within each state. I cannot get the decoupled camera to work under any circumstances, and at this point I can only assume it is because of my multiple changes of vehicle parameters since I have seen other vehicles with less complex implementations where the decoupled camera works just fine. Has anyone else experienced a problem similar to this?

3) A GOOD way to detect whether the client is in mouselook mode or not. I currently use a timer to test if a mouselook-only animation is playing or not. While this works, it seems like quite a hack and that it could be implemented a better way. Also the mouselook-only animation seems to have a higher priority as my custom sitting animation has the arms out holding the steering wheel... if I look to the right in mouselook, my arms go with even though my custom animation is priority 4.
_____________________
Apotheus Silverman
Shop SL on the web - SLExchange.com

Visit Abbotts Aerodrome for gobs of flying fun.
Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
Re: Mouselook steering observations
08-09-2004 12:04
From: someone
Originally posted by Apotheus Silverman
2) Decoupled camera does not always work? The vehicle I am currently working with has multiple states and modes of operation within each state. I cannot get the decoupled camera to work under any circumstances, and at this point I can only assume it is because of my multiple changes of vehicle parameters since I have seen other vehicles with less complex implementations where the decoupled camera works just fine. Has anyone else experienced a problem similar to this?


Camera decoupling doesn't take effect until you cross a sim line. Andrew Linden is aware of this problem.

/54/19/16247/1.html
_____________________
Sarcasm meter:
0 |-----------------------*-| 10
Rating: Awww Jeeze!
Apotheus Silverman
I write code.
Join date: 17 Nov 2003
Posts: 416
08-09-2004 12:16
Ah yes, I forgot all about that. Thanks.
_____________________
Apotheus Silverman
Shop SL on the web - SLExchange.com

Visit Abbotts Aerodrome for gobs of flying fun.
Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
08-09-2004 12:57
About your question numero 3, there was a post in the Animations forum a while ago about "joint-locking" and some special magic in the first two frames of an animation, have you looked at that?
_____________________
Sarcasm meter:
0 |-----------------------*-| 10
Rating: Awww Jeeze!