-
-
Notifications
You must be signed in to change notification settings - Fork 166
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 can I detect where the player clicks ? #418
Comments
Instead of signals, you can try using a raycast? See https://docs.godotengine.org/en/stable/tutorials/physics/ray-casting.html |
The terrain collider still calls set_ray_pickable to false despite the bug it works around being fixed in Godot 3.1. Maybe terrain can be ray-pickable now and we can have |
I would still recommend using a raycast, because it offers similar functionality that works already. Adding a Unfortunately, it looks like the scripting API doesn't expose enough things for the plugin to offer the same functionality easily. For example, implementing On a side note, it seems |
if this issue is done can we close it? |
I am using the plugin to generate a world map, it is great thank you for it
I was trying to detect where the player mouse is relative to the terrain, I enabled collision but I can't find how to get a signal when the player mouse is on the terrain with data of where it is located. How can I access collision signals ?
Thank you
The text was updated successfully, but these errors were encountered: