Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I need to calculate the angular velocity of an object with sine behavior. I know that:
Angular velovity = delta angle / delta time
but I cannot figure how to calculate the delta angle
Can someone help?
Develop games in your browser. Powerful, performant & highly capable.
Just keep track of the previous angle in a private variable like 'oldangle'. Then the delta angle would be Sprite.Angle-Sprite('oldangle').
+ System: Always (every tick)
-> Text: Set text to "Angular Velocity: " & (Sprite.Angle-Sprite ('oldangle'))/TimeDelta
-> Sprite: Set 'oldangle' to Sprite.Angle
Thanks a lot!