Hello everyone! I'm trying to design a feature in a platform game that when you jump on enemy head you bounce from it (like in Mario).
I tried everything that I can and bullet behaviour did a very good and smooth result but I can't to change it's direction! I tried global values and other stuff but it doesn't works it flies either left or right. Who can help me with that?
For example I make a global variable with bullet direction and set it to -180/180 which is depends on miroring the hero, and than I set bullet angle to this variable but it does not change with the value