|Topic was automatically imported from the old Question2Answer platform.
I’ve been attempting to cast a shadow beneath a bat enemy using a RayCast2D. More specifically:
shadow.position = ground_ray.get_collision_point()
which I assumed would put the shadow directly beneath the bat. Instead I get this:
Any idea how I can fix this?
If it helps this is what my editor setup looks like:
Edit: It’s occurred to me that the images I posted are not showing up. Any idea how to fix that also?
Edit #2: Fixed! Thanks to exuln!
Here’s your images
They aren’t showing up because you linked the imgur album page and not the image directly.
exuin | 2021-09-09 16:29