ScratchData LogoScratchData
Back to grandpasp's profile

test "if on edge, bounce"

GRgrandpasp•Created May 30, 2025
test "if on edge, bounce"
1
1
15 views
View on Scratch

Instructions

While troubleshooting some buggy "bounce" code (https://scratch.mit.edu/projects/1179827047) I discovered a "quirk" in the Scratch "if on edge, bounce" block. At a shallow impact angle, Scratch does a weird calculation and does not produce what I would call the correct angle. 135 deg. produces 45 deg. as expected. 92 deg. should produce 88 deg. but produces 78.68 !??

Project Details

Project ID1182845528
CreatedMay 30, 2025
Last ModifiedMay 30, 2025
SharedMay 30, 2025
Visibilityvisible
CommentsAllowed