Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
0
Members

x and y components from Vector2?

A topic by Gresh1234 created Sep 06, 2017 Views: 352 Replies: 1
Viewing posts 1 to 2

I'm pretty new to TypeScript (and programming in general), and I'm having a hard time using getMouseDelta and trying to apply it to player rotation. Is there a way to get the x and y components from the vector? I couldn't figure it out :c

Solved it. "Sup.Input.getMouseDelta().x" and "Sup.Input.getMouseDelta().y" did the job.