Okay, getting there...
Based on information here (http://www.ode.org/old_list_archives/2006-June/019114.html) I started tweaking the 'ball control' code and added stuff like here:
This works pretty good for moving FORWARD + RIGHT, but for some reason when I try to move down or left, it always moves 'southwest'. I haven't used ray nor spring yet, but will try that stuff at some point.
Here's the full code (any help regarding the odd behavior for down/left movement gladly taken):
(EDIT: see below for newer code...)
Based on information here (http://www.ode.org/old_list_archives/2006-June/019114.html) I started tweaking the 'ball control' code and added stuff like here:
dBodySetRotation(c\body,0, 0, 0) dBodySetAngularVel(c\body,0, 0, 0) dBodySetTorque (c\body,0, 0, 0) ;xforce# = leftforce-rightforce ;zforce# = forwardforce-backforce dBodyAddForce(c\body, xforce#, 0, zforce# )
This works pretty good for moving FORWARD + RIGHT, but for some reason when I try to move down or left, it always moves 'southwest'. I haven't used ray nor spring yet, but will try that stuff at some point.
Here's the full code (any help regarding the odd behavior for down/left movement gladly taken):
(EDIT: see below for newer code...)