You are not logged in.
we have speed functions for players, but not for objects. the point is:
when player_xspeed() is <> 0 and player_angle() <> 0 the x speed moves the player along the brick angle rather than horizontally, right?
is this possible on objects?
https://discord.gg/w8JqM7m ---> Open Surge's Discord server
Offline
absolutely. You just need some trigs. Something like:
move "$speed * cos($angle)" "$speed * sin($angle)"
Offline
wouldn't it be better to read from angle() ?
https://discord.gg/w8JqM7m ---> Open Surge's Discord server
Offline
sure
Offline