character movement and angles
Posted: Mon Feb 25, 2019 3:27 pm
Hi im trying to make a simple RTS like game.
Current state is that the character can move when iam click on a place on the screen, it moves in its on pace. i can rotate by manually changing the var.
The problem is that i need the character to turn i the direction that its moving in.
I have read about trigonometri an have some basic knowledge
It more of a math/logical problem but im hoping u can help
// David
Current state is that the character can move when iam click on a place on the screen, it moves in its on pace. i can rotate by manually changing the var.
The problem is that i need the character to turn i the direction that its moving in.
I have read about trigonometri an have some basic knowledge
It more of a math/logical problem but im hoping u can help
// David