Skip to content
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

drotation #353

Closed
BinaryMoon opened this issue Jun 9, 2023 · 2 comments · Fixed by #400
Closed

drotation #353

BinaryMoon opened this issue Jun 9, 2023 · 2 comments · Fixed by #400
Labels
feature New feature or enhancement

Comments

@BinaryMoon
Copy link

Hi - I think it would be good to have a drotation property on game objects. This would function the same as dx and dy and allow for delta time updates automatically.

@straker
Copy link
Owner

straker commented Jun 9, 2023

Thanks for the suggestion. Could you elaborate more on what you mean by allowing delta time updates for dx and dy? Maybe some code examples of how you would want to use drotation?

@BinaryMoon
Copy link
Author

Sorry - I probably confused things by mentioning them. When you use dx and dy it automatically applies a force to the x and y properties using delta time to get smooth motion at 60fps. I think the same thing for rotation would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants