Any suggestions/Comments?These forums are CLOSED. Please visit the new forums HERE
3rd person follow cam behind an rc vehicle? |
|
|
Drizzt Naumova
Teh Foxeh DJ
Join date: 9 Oct 2005
Posts: 116
|
09-07-2006 18:07
Is this possible? As you know an rc script can be a basic car script that is being "told" that there is an avatar sitting on it, when in fact there isn't. Permissions and phys is usually applied with a touch_start. But was wondering..would there be any way possoble to have the rc script grab cam as well? that would just rock. sitting behind and just a bit above the rear of an rc aircraft would be cool. I'm not too keen on camera scripting is why I am asking
Any suggestions/Comments? |
|
Dr Tardis
Registered User
Join date: 3 Nov 2005
Posts: 426
|
09-07-2006 18:55
as far as I know, you've got to sit in an item for the item to override your camera's location.
If you want your avatar to ride in a small vehicle, you could use a meatball animation to make the avatar smaller, or you could use an invisiprim to hide the avatar (or both). IM me in-world if you want a copy of Meatball and the invisiprim. |
|
Drizzt Naumova
Teh Foxeh DJ
Join date: 9 Oct 2005
Posts: 116
|
09-07-2006 19:41
Thanx
That is what I thought. Was just wanting to confirm my suspicions. and i already have thos two things hehe. Thanks again ![]() |
|
Aznavour Wolfe
Registered User
Join date: 19 Dec 2004
Posts: 9
|
09-07-2006 21:24
I've been thinking about this for awhile too... There's another option, though it's a bit kludgey. How about making the RC controller a sittable object?
Like so: you activate the RC controller attached to your hand, and it automatically rezzes a small prim which you then "sit" on. The prim overrides the sit animation with a stand, so it looks like you're standing and operating the controller, and it also alters your camera position to follow the RC car/vehicle. The advantage of this approach is that people can actually see your av operating the controller while the little vehicle zooms around - however, adjusting the camera on the fly to follow the vehicle might be a royal PITA and too jerky to work properly... |
|
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
|
09-07-2006 22:19
Attachments can also take control of the camera, so you don't need to sit on something, but the new camera system isn't really ment to move like that. Not sure if it's possible, but a compromise would be to have the camera pan around so the RC is at least always in view.
_____________________
|
|
Django Yifu
Beat Island Gaffer
Join date: 7 May 2007
Posts: 189
|
07-16-2007 07:22
This may be insanity but could you have the object you want to follow shout it's position and have the camera script respond by refocusing on the object. It would require quiute an intense amount of information transfer and would probably be a bit jerky.
Or maybe this just can't be done. |
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
07-16-2007 08:16
This may be insanity but could you have the object you want to follow shout it's position and have the camera script respond by refocusing on the object. It would require quiute an intense amount of information transfer and would probably be a bit jerky. Or maybe this just can't be done. Unless they've reworked the way the camera works, this "works" but is very jerky because as soon as you press a control key, the camera snaps back to it's default position behind your avatar. There is no setting to override this behaviour (outside of writing it in the libsl client). _____________________
My SLExchange shop
Typos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work. |
|
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
|
07-16-2007 10:45
If you take controls, and don't pass them on to the client, the camera is not reset...
Lyn |
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
07-16-2007 12:00
If you take controls, and don't pass them on to the client, the camera is not reset... Lyn how would you go about doing this? _____________________
My SLExchange shop
Typos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work. |
|
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
|
07-16-2007 12:55
llTakeControls(integer controls, integer accept, integer pass_on) Set pass_on to false. This means your script captures the key press and doesn't allow anything else to use it. However, this does not stop the camera from moving in my experience. When you first press a movement key, even with the events being captured, it resets the camera behind avatar. |