kontra icon indicating copy to clipboard operation
kontra copied to clipboard

drotation

Open BinaryMoon opened this issue 2 years ago • 2 comments

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.

BinaryMoon avatar Jun 09 '23 12:06 BinaryMoon

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?

straker avatar Jun 09 '23 18:06 straker

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.

BinaryMoon avatar Jun 10 '23 08:06 BinaryMoon