Here's a little example of using gravity and tilt to control stuff. Tilt device to control balls in a box. I think this fulfills your original request:
Quote: "small example of moving a sphere with tilt"
rem
rem Title: Tilt Table example.
rem by Conrad Brown.
rem
rem Portrait App
SetWindowSize( 1024, 768, 0 )
// set display properties
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 0, 0, 1, 0 )
SetScissor(0,0,0,0)
Create3DPhysicsWorld(40)
Set3DPhysicsGravity(0,-5,0)
//Build a 'table'
CreateObjectbox( 1, 250,250,10 )
RotateObjectGlobalX(1,90)
SetObjectColor(1,50,50,255,255)
createObjectbox( 2, 250,40,10 )
SetObjectColor(2,20,200,200,255)
RotateObjectGlobaly(2,90)
SetObjectPosition(2,-130,20,0)
createObjectbox( 3, 250,40,10 )
SetObjectColor(3,20,200,200,255)
RotateObjectGlobaly(3,90)
SetObjectPosition(3,130,20,0)
createObjectbox( 4, 250,40,10 )
SetObjectColor(4,20,200,200,255)
SetObjectPosition(4,0,20,130)
createObjectbox( 5, 250,40,10 )
SetObjectColor(5,20,200,200,255)
Setobjectposition(5,0,20,-130)
Create3DPhysicStaticBody( 1 )
SetObjectShapebox(1)
Create3DPhysicStaticBody( 2 )
setobjectshapebox(2)
Create3DPhysicStaticBody( 3 )
setobjectshapebox(3)
Create3DPhysicStaticBody( 4 )
setobjectshapebox(4)
Create3DPhysicStaticBody( 5 )
setobjectshapebox(5)
//position camera
SetCameraPosition( 1, 0,290,-80 )
SetCameraLookAt( 1, 0,10,0, 0 )
// set up time and index variables
time = 0
gravcheck=0
index = 10
// main loop
do
// increment time
time = time + 1
gravcheck=gravcheck+1
// release a new ball every so often
if ( time >= 10 and index < 40)
CreateObjectSphere ( index, random(15,40),15,15 )
SetobjectPosition ( index, 0, 60,0 )
Create3DPhysicsDynamicBody(index)
SetObjectShapeSphere(index)
SetObjectColor(index,random(50,200),random(50,200),random(50,200),255)
// increment index and reset time
index = index + 1
time = 0
endif
if (gravcheck > 15)
Set3dPhysicsGravity ( GetDirectionx()*9,-5, getdirectiony()*-9 )
endif
// update the screen
Step3DPhsyicsWorld()
Sync ( )
loop