I want to let a gyro only control yaw.
That means when player move mouse left and right, ship turns left and right; when move mouse up and down, nothing happen.
My solution:
there are two gyro. gyro1 and gyro2. gyro1 is normal but only have 1% power. gyro2 is override. I use PB to read gyro1 yaw value and multiply it with like 100. Then use the value to replace gyro2 yaw value.
but it is not work. gyro1 yaw value is always 0. I guess it might due to gyro1 is not override. float yaw...
Read “Yaw” value when a gyro is not override
That means when player move mouse left and right, ship turns left and right; when move mouse up and down, nothing happen.
My solution:
there are two gyro. gyro1 and gyro2. gyro1 is normal but only have 1% power. gyro2 is override. I use PB to read gyro1 yaw value and multiply it with like 100. Then use the value to replace gyro2 yaw value.
but it is not work. gyro1 yaw value is always 0. I guess it might due to gyro1 is not override. float yaw...
Read “Yaw” value when a gyro is not override