Topic was automatically imported from the old Question2Answer platform.
Asked By
Anand
Old Version
Published before Godot 3 was released.
Hello ,
I have a node StaticBody2D >> Sprite>>CollisionShape2D
now i HAVE A script which randomly changes the texture associated with the sprite.
NOw say the sprite has texture ‘a’ , n when it changes its texture from ‘a’ to ‘b’
the collision shape should be disable and the objects (players) standing on the sprite should fall down