Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Stop the camera from recentering?

Phate Shepherd
Addicted to code
Join date: 14 Feb 2008
Posts: 96
02-07-2009 11:49
Every time I start an animation from within a scripted object, the camera re-centers on the avi.

Is there a way to "unlock" the camera so that each time I start a new animation, the camera stays wherever the user has positioned it?

Is this a function of llSetCameraParams?

If I am starting animations from within child prims of the root object, do all the child prims have to issue an llSetCameraParams (with the associated llRequestPermissions for camera control) so that they don't move the camera?
Galena Qi
Registered User
Join date: 9 Sep 2006
Posts: 249
02-07-2009 21:05
Starting an animation shouldn't affect the camera. It must be due to the script you are running it from. Try posting to the Scripting Tips forum for help in writing a script that won't take control of the camera.
Phate Shepherd
Addicted to code
Join date: 14 Feb 2008
Posts: 96
02-08-2009 20:56
Yah... I don't think it is the animation... I think it is because I am using key events to change animations, and anytime a key is pressed causes the camera recenter.