 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
TiagoTiago
Joined: 20 Jan 2007 Posts: 710 Location: Brasil
Digg It |
Posted: Wed Jul 04, 2007 12:58 pm Post subject: |
|
|
I think since Gearth zoom (as well the other types of movements) is relative and not absolute the most you can do is control the rate it changes, you won't be able to get it to correspond to the position of the wiimote, you can only use somting like the pulse algorithm that is on the wiki to make it move slower or faster one way or the other...
oh, and why you not change 6 inches to the distance you want to be the threshold for that direction? _________________ please put the scripts on the wiki so they dont get lost as new stuff is posted!
phpBB doesnt like me,somtimes it will forget to warn me about new replies to threads I asked it to,if you see a thread I should have responded, could please email me? |
|
| Back to top |
|
 |
djatzmo
Joined: 01 Jun 2007 Posts: 19
Digg It |
Posted: Wed Jul 11, 2007 10:03 am Post subject: |
|
|
oh, i think you're right with the relative and absolute values.
now i tried something like this:
| Code: | If (var.IRDistance = 14 inches) then
ctrl+down = TRUE
endif
If (var.IRDistance = 16 inches) then
ctrl+down = FALSE
endif
If (var.IRDistance = 18 inches) then
ctrl+down = TRUE
endif
If (var.IRDistance = 20 inches) then
ctrl+down = FALSE
endif |
and so on...
i thought i can simualte a relative movement because of ctrl+down true, ctrl+down false and so on. know what i mean? but it doesn't work.
also the measurement of the distance is very fault-prone because you have to point directly on the ir-lights.
and with the pusle algorithm i don't get the connection with miy script.
greetz from germany,
djatzmo |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|