Quote: "sing SetSpritePhysicsVelocity() and SetSpritePhysicsAngularVelocity() are both ignored."
i made a test, its not ignored.
rem
rem AGK Application 2.0.22
rem MR
SetWindowSize(800,600,0)
SetVirtualResolution(100,100)
SetPhysicsDebugOn()
SetPhysicsScale( 0.1)
//SetPhysicsGravity(0,100)
SetPhysicsGravity(0,10)
SetPhysicsWallBottom(1)
spr=StartSprite()
SetSpritePhysicsImpulse(spr,0,0,20,0)
do
print("Press A for Stop, B for Continue, Esc for End")
if GetRawKeyReleased(65)
SetSpritePhysicsOff(spr)
SetSpriteVisible(spr,0)
endif
if GetRawKeyReleased(66)
SetSpriteVisible(spr,1)
SetSpritePhysicsOn(spr,2)
SetSpritePhysicsVelocity(spr,0.0 , 0.0)
SetSpritePhysicsAngularVelocity(spr,0.0)
endif
if GetRawKeyReleased(27)
exit
endif
Sync()
loop
end
Function StartSprite()
spr = CreateSprite(0)
SetSpriteSize(spr,10.0,10.0)
SetSpritePhysicsMass(spr,1)
SetSpritePhysicsOn(spr,2) //Dynamic
endfunction spr
AGK (Steam) V2.0.22 : Windows 10 Pro 64 Bit : AMD (16.12.1) Radeon R7 265 : Mac mini OS Sierra (10.12)