Skip to content

Fix the raycast demo#4

Open
jecaro wants to merge 1 commit into
pimoroni:mainfrom
jecaro:fix-raycast
Open

Fix the raycast demo#4
jecaro wants to merge 1 commit into
pimoroni:mainfrom
jecaro:fix-raycast

Conversation

@jecaro
Copy link
Copy Markdown

@jecaro jecaro commented Feb 5, 2026

The raycast demo was currently failing with

loaded example raycast (7316KB free)
Traceback (most recent call last):
  File "main.py", line 12, in update
  File "///system/test.py", line 47, in update
  File "////system/tests/raycast.py", line 131, in update
TypeError: 'vec2' object isn't subscriptable

It looks like you want to call raycast here (credit to Claude for the finding). I also slowed down the loop a bit as it was running way too fast.

Screenshot_20260205_223053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant