Why isn't raycast working sometimes?
many users have recently had trouble with the raycast commands "not working" in some situations.
possible explanations:
- Have you set the Newton World size properly?
- Setting the Newton World size is very important. many functions do not work in space outside the bounds of the Newton World.
- Rays that start inside bodies will not return hit points for that object, they must always start outside the body.
- Ray-polygon collision is detected only if ray origin is on the front side of polygon
- Ensure your rays are specified to 'travel' in the direction you expect!
back to the FAQ