Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use "BVHTree.ray_cast()" function #1475

Closed
kdsin23 opened this issue Jul 15, 2020 · 3 comments
Closed

How to use "BVHTree.ray_cast()" function #1475

kdsin23 opened this issue Jul 15, 2020 · 3 comments
Labels

Comments

@kdsin23
Copy link
Contributor

kdsin23 commented Jul 15, 2020

i tried to use BVHTree.ray_cast() function to compute distances in script node,as in the shot:
ray cast error

but its results are different from the "ray_cast node" computes, what am i wrong? i want to know how to use the ray_cast function correctly? thank you for any help!

@harisreedhar
Copy link
Contributor

Index for distance is 3 not 2

@kdsin23
Copy link
Contributor Author

kdsin23 commented Jul 15, 2020

Index for distance is 3 not 2

Thank you! i will try.

@stale
Copy link

stale bot commented Aug 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 14, 2020
@stale stale bot closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants