Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

(If this is made in Godot) This will make the gun flip after certain angles! 

if rotation_degrees < -90:

(flip here, scale.x = -1)

else:

$ColorRect3.position.y = -3

if rotation_degrees > 90:

(flip here, scale.x = 1)

thanks for the suggestion! I will keep this in mind for my next projects!