Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / looking for an explanation on SetSpritePhysicsAngularVelocity

Author
Message
malospam
13
Years of Service
User Offline
Joined: 27th Aug 2011
Location: Florida
Posted: 30th Aug 2011 23:54
I looked at the docmentation as much as I could but I had trouble finding what it is and means. Can anyone point me to some information that will explain in detail the va part of SetSpritePhysicsAngularVelocity( iSpriteIndex, va )? Thanks!
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 31st Aug 2011 00:33
Angular velocity is the speed of rotation of an object. The va parameter is the speed in radians per second.
malospam
13
Years of Service
User Offline
Joined: 27th Aug 2011
Location: Florida
Posted: 31st Aug 2011 00:42
Oh I see. So then it doesn't affect the actual movement and path of an object if it collides with something else then?
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 31st Aug 2011 05:16 Edited at: 31st Aug 2011 05:17
so 6 would be about 1 revolution per second then (6.28?)
good stuff to know, thanks

Login to post a reply

Server time is: 2024-11-24 02:10:16
Your offset time is: 2024-11-24 02:10:16