|
AlexAlex Yifu
Registered User
Join date: 2 Jun 2007
Posts: 17
|
02-03-2008 01:17
Is there a simple method to move or restore the camera viewpoint after a teleport using warppos? When I use it, I often notice that the camera remains at the old position, or gives a blue-ish view. I've never done much programming changing the camera viewpoint, so I'd rather ask first, if there's a simple way to restore the viewpoint after the move?
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
02-03-2008 06:26
If you're seeing what I think you're seeing, the agent's cam has been manually displaced from default view before teleporting, so I don't think any scripted cam controls would make any difference. If the same thing occurs when Esc-Esc-Esc is pressed before teleporting, then it's something else and might be tackled with either cam properties of the TP prim (llSetCameraAtOffset and llSetCameraEyeOffset) or the dynamic llSetCameraParams. (I'm guessing that "blue-ish view" is what's visible from the previous, manually set cam position, after the agent has TP'd so far away that the previous surroundings are no longer within rez radius.)
|
|
Monica Balut
Beam-Me
Join date: 18 Feb 2007
Posts: 311
|
02-03-2008 07:10
I think I know what your talking about. You TP and the camera fails to follow you to the new position. It's not just with warppos. The sit target teleporters do the the same thing. I too was annoyed by this. I posted a question about it in this forum. No results. I experimented for a while with various scripted camera functions. I could never make it go away no matter what I scripted. Esc-Esc always corrects the problem for me, so I gave up trying to find a solution. If anyone knows how to fix it, I too would appreciate know how.
|
|
AlexAlex Yifu
Registered User
Join date: 2 Jun 2007
Posts: 17
|
02-03-2008 08:47
Thank you for the answers. I'll try the cameraoffset functions, and if that doesn't work, it will be as it is now.
|