| View previous topic :: View next topic |
| Author |
Message |
Wiitards-co-uk

Joined: 30 Jan 2007 Posts: 19
Digg It |
Posted: Tue Jan 30, 2007 7:11 pm Post subject: Wii Remote D-Pad as FPS Mouse Camera? |
|
|
i can't get my head around the code to make the d-pad just operate the mouse camera.. when i have the wii remote as a camera is always way too sensitive and i end up having to hold it virtually still for it not to shake the camera all giddy.
i've seen some camera fps scripts in the glovepie zip file. but how would i do the above?
thanks for any tips |
|
| Back to top |
|
 |
Vaughan14

Joined: 28 Jan 2007 Posts: 32 Location: Australia
Digg It |
Posted: Wed Jan 31, 2007 5:16 am Post subject: |
|
|
I know what you mean, If you just changed your script to have it so instead of it saying:
wiimote.roll/smoothroll and wiimote.pitch/smoothpitch.
you could change it to wiimote.up/down/left/right.
If you could post the script i would be willing to change it for you! _________________
 |
|
| Back to top |
|
 |
Wiitards-co-uk

Joined: 30 Jan 2007 Posts: 19
Digg It |
Posted: Wed Jan 31, 2007 2:27 pm Post subject: |
|
|
i posted this in the Scripts forum after i realised this was the wrong forum and i got help from TylerK! but thanks a bunch for offering anyway!
I got this working reasonably good.. what you think?
| Code: | var.speed = 0.0009
if (Wiimote.Up) Mouse.y = Mouse.y - var.speed
if (Wiimote.Down) Mouse.y = Mouse.y + var.speed
if (Wiimote.Left) Mouse.x = Mouse.x - var.speed
if (Wiimote.Right) Mouse.x = Mouse.x + var.speed |
|
|
| Back to top |
|
 |
Vaughan14

Joined: 28 Jan 2007 Posts: 32 Location: Australia
Digg It |
Posted: Thu Feb 01, 2007 1:36 am Post subject: |
|
|
It looks good i will try it when i get home! _________________
 |
|
| Back to top |
|
 |
Vaughan14

Joined: 28 Jan 2007 Posts: 32 Location: Australia
Digg It |
Posted: Thu Feb 01, 2007 7:00 am Post subject: |
|
|
It works flawlessly ! _________________
 |
|
| Back to top |
|
 |
|