Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llMoveCamera

Jediborg Wishbringer
Second Life Resident
Join date: 15 Nov 2004
Posts: 20
12-07-2004 10:40
a funtion in lsl, that would supposedly let us fix the camera at a cerain point (say, for simulation of a 2d sidescroller) or simply temproarily relocate it (ALA super mario 64, where the camera is moved to show you were the star is located that you must collect)
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
12-07-2004 14:39
I've repeatedly stated an interest in attaching a player's camera to a prim, and moving that prim around as you like.

Of course, having smoother movement options would the be a must. Non-physical spline-based motion paths would be great. Drop a motion path object in a prim, and give it a script to control when to start and stop, as well as speed along the path. Imagine what could be done with that sort of control...
_____________________
~ Tiger Crossing
~ (Nonsanity)
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
12-07-2004 17:38
I assume that llSetCameraAtOffset() & llSetCameraEyeOffset() do not function the way you intend. This is likely because an avatar has to 'sit' on a prim for the functions to take place. Why not decouple these two functions from sit? Allow the functions to be called after something as simple as a touch_start() or collision event.

This would also make for better security. A script could detect an un-listed avatar and while that avatar is on secured property, the llSetCamera functions could be used along with sophisticated math to prevent the avatar from positioning the camera where it shouldn't go.