![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Asthalis |
Hello everyone,
I am building a platformer 2D and I want to add fans to my levels to push the hero when he gets close to them. Each fan is a RigidBody2D and I want to use an Area2D to set the zone where the wind blows (modified gravity).
Do you know is there is a way to “fill” the Area2D’s CollisionShape2D (a rectangle in my example) with a sprite pattern ? I’d like to use an animated sprite to show the direction of the wind in the whole zone and all Area2Ds may have different sizes.
Thanks a lot