@box2d/lights with box2d-wasm #80
scott-cornwell
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you are trying to use this with box2d/lights and you looked at the Raycasting docs for box2d-wasm you might be trying to do
return 0
in your RayHandler ReportFixture(). This will cause lights to sometimes go through walls. You want it to look more like this:Beta Was this translation helpful? Give feedback.
All reactions