Skip to content

Accessing the acceleration meter data and gyroscope #57

@Breckie1

Description

@Breckie1

I don't know if I am particularly dense or if learning how to program as a dyslexic was a bad idea but I want to access the angle of the controller, basically (pseudo code)
if(tilt to left)
{
do stuff
}
if (tilt to right)
{
do more stuff
}
if(tilt upwards)
{
do something else
}

if(pulled straight up)
{
jump
}

I have no idea how to access these values and I've been trying to read through the readme file but I still don't get it.
I have a Wii Motion Plus controller and a dolphin bar
this error keep showing up also:
HidAPI reports error -1 on write:
UnityEngine.Debug:LogError(Object)
WiimoteApi.WiimoteManager:SendThread() (at Assets/Wiimote/Scripts/WiimoteManager.cs:169)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions