Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Player needs to face towards an object

famekraftsfamekrafts Posts: 834Member, BASIC
How to make player face towards an object say a cliff

When it is spawned it needs to be facing a cliff, if on the right side of screen then it will move towards it from right, if left the character animation needs to be flipped.

The problem is that the cliff can be anywhere on screen, so I cannot give a particular x and y value.

So how do I do it?


This discussion has been closed.