Skip to content

How are the intersection points obtained in OnCollision? #2099

Answered by spydon
Vasilisk8 asked this question in Q&A
Discussion options

You must be logged in to vote

The collisions are only calculated once per tick, this means that almost always your hitboxes will overlap a bit and every intersection point is where the hitboxes intersect at this time.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spydon
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