-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I do to make an exact 90 degree turning when make action of turning left/right #279
Comments
Hey, For turning, you can use As for moving fixed distance this is bit trickier as player does not just move in constant speed, rather accelerate and reach some maximum speed, and it also takes time to completely stop. You could possibly change actor's properties via ACS scripts, but I do not know proper way for this. If you do not need absolute accuracy, you could keep |
Hello @TianyuanYu, |
Thanks very much @Miffyli @mwydmuch I have tried this game = DoomGame() Some results I get is x1043.1000061 It is quite similar with 90 degree but not. Is that the right way to use Thank you very much!!! |
You are using Offtopic: You can use |
Thanks very much @Miffyli |
Added this issue to a new FAQ.md file. |
@mwydmuch Had you written the example for moving forward by a fixed number of units? |
Hi, all,
How can I do to make an exact 90 degree turning when make action of turning left/right
How can I do to make a fixed distance move such as 100 when make action of moving forward
Thanks very much
The text was updated successfully, but these errors were encountered: