Ask coding questions

← Back to all posts
KaboomJS - How to make something Point-Towards XY/GameObj
CodedEntity

i am trying to get a sprite to rotate and point towards a sprite and i cant get the sprite to rotate to the other sprite.

Voters
CodedEntity
Comments
hotnewtop
SixBeeps

You can use trigonometry for that.

CodedEntity

@SixBeeps Yea i figured that some time before