In this game: https://flowlab.io/game/view/1142161 at level 5 the “Zeno Officer” is upside down when walking left can anyone help me so it’s always the right way?
Also how would i make it so in the metal blocks i can see a reflection of the player?
And can someone help me with ideas to make it more fun?
It’s because of the way PointAt works. It doesn’t FLIP the object to point, it ROTATES it around. So if you are behind it, the object will rotate 180 degrees around to look at you, and will then be upside down.
@johnpost is right, its the point-at behavior thats flipping the object.
The point-at behavior rotates the objects “forward” to look at positions that you insert.
The object is set to not rotate, and your always inputting into both flips, which makes this visual bug.
The “point-at” behavior is useless here, instead you need to subtract the players x, and the “Zeno Offiscer” x. Filter the results to above or below zero, is would flip or unflip.