Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I just built a rocket(looks like firework rocket) and i need some help!

felicity Parks
Registered User
Join date: 28 Jul 2004
Posts: 47
08-04-2004 17:54
every time i sit in it to drive i cant see in front of me but down on to me. how do i change the camera angle or whatever?
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
08-04-2004 20:56
It took me a while to figure this one out too, but don't worry, it can be done. Yuo can actually offset the camera any way you want, but if you're like me (not a coding genius) it's a little tircky. What I discovered is you need the following commands in your script:

llSetCameraEyeOffset(<-20.0, 0.0, 10.0>;);
llSetCameraAtOffset(<20, 0.0, -5.0>;);

Play around with the numbers until you get the camera where you want it. The numbers I have there are for a fairly large starship I'm working on. The cameara ends up behind the craft and slightly above it, looking slightly down so that the entire ship is visible with a pretty clear view of the environment. For different size and shape vehicles though you'll obviously need to fidgit with the numbers.

You can also set the script to put you in mouselook mode for steering the vehicle, but as i'm not a fan of mouselook myself, I've never tried to use this ferature.

Hope that helped.
felicity Parks
Registered User
Join date: 28 Jul 2004
Posts: 47
08-05-2004 07:19
thx