hey all i want to make my ship always looking at my mouse but using angle lerp but it need to be able to also work with the ship moving
can anyone help me please
Have you tried the rotate toward angle/position actions?
well for now the best thing ive been able to do so far was to create an invisible object that have the movement controls and the visual object that he only do angle lerp
Develop games in your browser. Powerful, performant & highly capable.
Rotate ship towards mouse:
ship set angle: anglelerp(ship.angle,angle(ship.x,ship.y,mouse.x(layername),mouse.y(layername)),0.5)
nop it does not work so must be 2 separated object
Basically i have an object called player but invisible hes doing 8 direction
then i have an other object called spaceship and is always positioning to player and also the spaceship is the anglelerp