Talk:WiiColEm
This is an old revision of this page, as edited by Raz0red (talk | contribs) at 04:14, 29 January 2010. It may differ significantly from the current revision. |
Question about Tilt
Hi, I've been trying to implement tilt turning for my game but haven't gotten it to work right yet. I was looking over your source to see how you got it to work, but couldn't find the function for it. I was wondering how you did it. I've tried using both the orient_t and gforce_t structs in wiiuse, but neither of those get it quite right. Could you point me in the right direction? Thanks. RazorChrist/TronCycles 01:39, 29 January 2010 (UTC)
- Sure, check out Colem/Wii/WiiColem.c in the "Mouse" method. You should see a section that occurs when the control mode is set to "CONTROLS_MODE_DRIVING_TILT". It is using "pitch" obtained via the "orient_t" structure. --Raz0red 02:14, 29 January 2010 (UTC)