Skip to content

Is there anything wrong with my RayCast? #1508

Answered by jrouwe
Sekaus asked this question in Q&A
Discussion options

You must be logged in to vote

Also you are casting a ray against a sphere which by definition is centered around the origin and will never return a body id. You should be casting using NarrowPhaseQuery.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Sekaus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants