|
maydaysos Young
Registered User
Join date: 29 Dec 2006
Posts: 10
|
04-02-2009 21:40
My scripting skills are limited and i was needing some help on two questions. First: I would like a simple script that will lock the camera automatically after you alt click. So let say i press alt mouse1 and focus on an object, I would like the camera to stay locked in this position even apon moving my avatar. is this possible?
and actually there is no #2 question untill i know the answer to number one.
|
|
ElQ Homewood
Sleeps Professionally
Join date: 25 Apr 2007
Posts: 280
|
04-03-2009 00:18
|
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
04-03-2009 10:37
the object has to be attached (sitting or attached), to the avatar for the camera to be controlled. Alt Left Clicking will only move the clients focus to the point that was alt-clicked, and doesn't trigger any events, but you could set the object to auto-sit the avatar, and when they left click (touch) it, they'll sit the object, then the camera can be controlled.
_____________________
My tutes http://www.youtube.com/johanlaurasia
|
|
maydaysos Young
Registered User
Join date: 29 Dec 2006
Posts: 10
|
04-10-2009 10:00
From: Johan Laurasia the object has to be attached (sitting or attached), to the avatar for the camera to be controlled. Alt Left Clicking will only move the clients focus to the point that was alt-clicked, and doesn't trigger any events, but you could set the object to auto-sit the avatar, and when they left click (touch) it, they'll sit the object, then the camera can be controlled. thanks for the info. so focus/alt client does not register an event. what about the movement after u have focus clicked. is ther a way to disable the "w,s,d,a" taking back control of the camera. in other words is there a way make the camera not recognize avatar movement whuile alt clicked. i found a camera parameter camera focus locked true but i dont notice a difference.
|