|
Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
|
06-19-2008 04:54
how to accomplish the following task ?? when i enter a mouselook, and touch an object, it gets selected. then as i move my mouse, the object moves along the cursor, and when i do left click it stops moving ??
my entire business depends on this !! help me guyz !! thanx in advance !!
|
|
Atom Burma
Registered User
Join date: 30 May 2006
Posts: 685
|
06-19-2008 05:00
You can also fake mouselook with a camera control script as well, just giving you another option.
|
|
Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
|
06-19-2008 05:03
but will this option accomplish the task of moving objects with mouse pointer or do i have to give instructions from keyboard arrow keys ??
|
|
Atom Burma
Registered User
Join date: 30 May 2006
Posts: 685
|
06-19-2008 05:09
This is the string that I use for my amusement park rides to fake mouselook. You may need to play with the variables, and definately need to embed it in a wearable object.
llSetCameraEyeOffset(<-0.5, 0, 1> ); llSetCameraAtOffset(<30.0, 10, -2.0> );
I just threw it into the poseball scripts I used. So I assume it is probably easier to use it in some sort of animation or AO to use with whatever object you make. But I am no scripter, don't claim to be.
But it basically is the exact same screen as usual, but it forces a POV (point of view) type mouselook view of the world.
|
|
Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
|
06-19-2008 05:14
it needs camera permissions, right ?? neways, thanx alot, i may choose that option. just lemme know the wiki says that i can touch nething by pressing alt in mouselook, but i am not able to do so. how does this thing works ?? can't i touch nething in mouseluk ?
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
06-19-2008 07:12
From: Varun Blitz itjust lemme know the wiki says that i can touch nething by pressing alt in mouselook, but i am not able to do so. Touching is left-click in mouse look, just like in normal view. You should only need the alt key if you want to right-click and get the pie menu. (ohh, are you trying to move physical objects? If so, use the ctrl key. the regulr sliding with no keys will work too)
|
|
Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
|
06-19-2008 22:47
how can i track the head rotation, with getrot() i am able to get only the rotation of avatar in direction i am facing.
|
|
Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
|
06-19-2008 22:49
From: Varun Blitz how can i track the head rotation, with getrot() i am able to get only the rotation of avatar in direction i am facing. i am able to move the object once i click in mouse look, but the problem is the rotation. it is not detecting the rotation of mouse only the avatar face rotation. shud i use getcamerarot ??
|