Wiimote Circularatatatational Velocities
Yay! I need help again! This is exciting for me, because it happens so unoften.
Okay, I am using the wiimote object. I would like to get the velocity it is moving at when I spin it in circles, as if I were spinning a lasso type thing. I haven't the slightest clue how to do this. Which is why I posted here. For help, I mean.
This is quite awkward. Maybe if I posted here more often I would be more in practice to make this not sound so, erm, this.
Anyway, help plox.
Re: Wiimote Circularatatatational Velocities
I don't have much experiance with the WiiMote object, but what do you mean? Do you mean directional velocity? Lateral velocity? Circular velocity?
Re: Wiimote Circularatatatational Velocities
Hasn't "the slightest clue"
He wants a lasso :)
Re: Wiimote Circularatatatational Velocities
I want the user to spin the wiimote around like a lasso, and return to me the speed at which they are spinning.
Re: Wiimote Circularatatatational Velocities
Jacob, again that brings us back to my question:
Quote:
Originally Posted by LB
Do you mean directional velocity? Lateral velocity? Circular velocity?
Re: Wiimote Circularatatatational Velocities
I suppose circular. If you've ever played the Rayman Raving Rabbids game with the cow spinning, that's what I am going for. My game is nothing like that, but that's the control scheme.
Re: Wiimote Circularatatatational Velocities
OK, so all that is is the degrees between the old position degrees and the current position degrees. All you have to do if find the center of the circle and you're good to go. ;)
Re: Wiimote Circularatatatational Velocities
Re: Wiimote Circularatatatational Velocities
Re: Wiimote Circularatatatational Velocities
I just looked at the Wiimote Object (which I've never used before in my life) and it seems to have expressions for the X, Y, and Z acceleration. If acceleration, for some reason, means speed, you could use math to find one number from those three that would represent the velocity of the Wiimote. If I'm not mistaken, this expression would work:
Code:
Sqr(Sqr((getWiimoteAccelerationX( "Wiimote Object v1.0", -1) pow 2)+(getWiimoteAccelerationY( "Wiimote Object v1.0", -1) pow 2))+(getWiimoteAccelerationZ( "Wiimote Object v1.0", -1) pow 2))
Have a nice evening. :grin: