Quote: "Can you please post the code you're using?
"
sure.
rem Landscape App
SetDisplayAspect( 4.0/3.0 )
Wheel=CreateSprite(LoadImage("wheel.png"))
SetSpriteSize(Wheel,10,-1)
SetSpritePosition(wheel,21,90)
setSpriteShapeCircle (wheel,0,0,5)
SetSpritePhysicsOn (wheel,2)
Wheel2=CreateSprite(LoadImage("wheel.png"))
SetSpriteSize(Wheel2,10,-1)
SetSpritePosition(wheel2,40,90)
setSpriteShapeCircle (wheel2,0,0,5)
SetSpritePhysicsOn (wheel2,2)
body = CreateSprite(LoadImage("moving.png"))
SetSpriteSize (body,30,-1)
SetSpritePosition(body,20,80)
SetSpriteDepth (body,1)
SetSpritePhysicsOn(body,2)
CreateRevoluteJoint ( 1, body, wheel, 26, 96.5, 0 )
CreateRevoluteJoint ( 2, body, wheel2, 45.6, 96.5, 0 )
//SetPhysicsDebugOn ()
do
//check left key
if getrawkeyState(37)=1
SetSpritePhysicsVelocity (wheel,-5,GetSpritePhysicsVelocityY(wheel))
//Check right key
elseif getrawkeyState(39)=1
SetSpritePhysicsVelocity (wheel,5,GetSpritePhysicsVelocityY(wheel))
else
SetSpritePhysicsVelocity (wheel,0,GetSpritePhysicsVelocityY(wheel))
endif
Sync()
loop