Changes between Version 21 and Version 22 of SummerOfCode/2011/MayankSingh/GyroController


Ignore:
Timestamp:
04/18/11 09:03:54 (3 years ago)
Author:
MayankSingh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SummerOfCode/2011/MayankSingh/GyroController

    v21 v22  
    3838}}} 
    3939* The wiimote handles all this by sending appropriate signals via bluetooth connection. More on how to handle bluetooth connection in wiimote in the Link section. 
    40 * All this can be accessed from the !SensorEvent class for the android phone and then communicated to the libsoy via a bluetooth or USB connection. This can be referred [http://developer.android.com/reference/android/hardware/SensorEvent.html here]. 
     40* For the android phone, all this can be accessed from the !SensorEvent class and then communicated to the libsoy via a bluetooth or USB connection. This can be referred [http://developer.android.com/reference/android/hardware/SensorEvent.html here]. 
    4141* The game programmer can then program there 3d/2d models/sprites to move/gain force/gain torque based on the values they receive from the motion controller functions.  
    4242* Regarding the real world and game world coordinate system, it's completely upto the game programmer how he utilizes the values he gets from the motion controller. As is clear from the output of the functions, they provide output for all three axes. So, it's upto the game programmer to map the acceleration, rotation from the real world to his game world coordinate system.