PT
Developer Forums
Register
Login
AppGameKit Classic Chat
->
looking for an explanation on SetSpritePhysicsAngularVelocity
<
1
>
M
malospam
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!
P
Paul Johnston
Joined:
16th Nov 2002
Location:
United Kingdom
Posted:
31st Aug 2011 0:33
Angular velocity is the speed of rotation of an object. The va parameter is the speed in radians per second.
M
malospam
Joined:
27th Aug 2011
Location:
Florida
Posted:
31st Aug 2011 0: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?
C
Conjured Entertainment
Joined:
12th Sep 2005
Location:
Nirvana
Posted:
31st Aug 2011 5:16
so 6 would be about 1 revolution per second then (6.28?)
good stuff to know, thanks