[↑]
TCVISOR
Get visor recognition information of Toy-Con Robot
TCVISOR ControllerID OUT RecognitionFlag,Pitch,Roll,Yaw
・An error occurs if XCTRLSTYLE is used without recognizing the Toy-Con Robot visor.
Argument
ControllerID
ID of the controller that acquires information: 1 to 2
Return Value
RecognitionFlag
Return 1 if the visor is recognized correctly, 0 if not.
Pitch,Roll,Yaw
Visor attitude angle information
・It is assumed that the visor is attached to the head.
・The unit of angle is radian.
Pitch | Tilt of raising/lowering the visor. If Toy-Con is raised, it is positive (value increases) |
Roll | Left/right tilt of head. If you tilt your neck to the left, it is positive |
Yaw | Head rotation. Rotate counterclockwise to make positive |
About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the
official reference site
of the
SmileBoom Co.Ltd.
that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it.
For automatic update, contents may become improper.
Please confirm the correct content in an official site.
June 3, 2020
by mim
OK
|