-
|
I am making a card game where the player must hit the cards lying on the table.
How can I check if a dragged card component lands on the cardOnTable component? |
Beta Was this translation helpful? Give feedback.
Answered by
spydon
May 28, 2025
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dazevich
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
componentsAtPointpropagates down the component tree that it is run on, so just run it on theworld, if your components live in a subtree of the world, otherwise use it on thegame, and pass in theglobalPosition.