I'm currently working on a program that uses the cast a ray from ... towards ... block. All other values the program calculates seem to be correct, but the cast a ray block always returns (0, 0, 0).


My Program:

Error - Try reloading the page
If you can't see the picture, try reloading the page

The first and the last part seem to be working fine, but the second part always returns (0, 0, 0) - even if I use ... from ( nav(position) + vec(0, 5, 0) ) towards ( nav(position) ).


Does anyone know why this happens?

Tags
Question

2 Comments

1 Upvote

Log in in to upvote this post.