无法在虚拟世界里应用主动性的传感器

我在虚拟世界里测试一些简单的程序,但是在同LED当做启动开关的时候遇到了一个尴尬的问题,无法去接触LED。求问有大神有过相关的解决办法么??拜谢

虚拟世界不支持TouchLED传感器,Bumper Switch在虚拟世界中只能用于碰撞检测。
下面是来自RobotC官方回复:
The TouchLED sensor is not supported in Robot Virtual Worlds.
While the Bumper Switch does exist in Robot Virtual Worlds it only detects contact with objects in the virtual world. There is no way to have a user press/release the sensor in the virtual world.

1 个赞

非常感谢您的回复