How to add multiple shapes to StaticBody though code.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By russiniet

I am aware that this was already answered to some extent, but other answers are just not satisfactory enough. I have a StaticBody and I want to add several translated collisions to it though code. What is the easiest way to accomplish this?

You haven’t provided much information. What other answers and what’s unsatisfactory about them? What have you tried already? How many shapes? How are you deciding how much to translate them?

kidscancode | 2020-04-17 01:16