I've been tinkering around with the top down game template recently but one thing that has me confused is how to stop the player from moving. As far as I know, you can stop the character's movement while traveling to the hit location when using "stop movement" and "stop movement immediately" with a button or mouse press. However the controlled character will continue moving once the button or mouse is released. Is there a way to completely zero out the rotation/location data so that the controlled character stops entirely?
Announcement
Collapse
No announcement yet.
Stopping movement for top down games?
Collapse
X
-
Originally posted by rayDawg View PostI've been tinkering around with the top down game template recently but one thing that has me confused is how to stop the player from moving. As far as I know, you can stop the character's movement while traveling to the hit location when using "stop movement" and "stop movement immediately" with a button or mouse press. However the controlled character will continue moving once the button or mouse is released. Is there a way to completely zero out the rotation/location data so that the controlled character stops entirely?Kind Regards,
Bonny
-
Originally posted by canI View PostDid you try doing a "Simple Move to" to where the player already is? I would think it would cancel the current one just like when you click somewhere else while moving and it overrides it.
Comment
-
Originally posted by Vorek View PostHi!
I did it with setting Max WalkSpeed of controlled character. It seems to work
[ATTACH=CONFIG]2092[/ATTACH]
Comment
Comment