Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | techel |
Hi,
I use the methods from Physics2DDirectSpaceState
and want to get the Shape2D
from the returned shape_index
. I could manage this with shape_find_owner
and shape_owner_get_owner
, but this doesn’t work with those objects that don’t use CollisionShape2D
like TileMap
. How do I generally get Shape2D
s from shape indices and an object?
Thanks!