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

4 Comments

  • Log in to leave a comment
  • Profile image

    I might have actually fixed it... more information hopefully coming soon.

    one month ago
  • Profile image
    3,323 lafario

    Idk eather, But am waiting to see if it works it will be so cool.

    4 months ago
  • Profile image
    3,323 lafario

    Cool.

    5 months ago
  • Profile image

    Even ChatGPT told me I probably found a bug...

    +1 5 months ago

1 Upvote

Log in in to upvote this post.