JV-ODE Physics Thread 8

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Thread 8

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Firstly thank you for the latest update. JV-ODE has been the best addon purchase I've made since being a Blitz3D user.

I've built a 3D scene with various static geometry, and a single ball bouncing around happily inside it.

I want to control the ball separately from the rest of the scene, i.e. the angle and velocity it moves at. I assume I would need to stop it being affected by gravity too - but I'm thinking that forcibly setting the angle and velocity would override gravity?

I have been trying to use the command:

dGeomGetRotation(geom)

The manual states this returns a vector, but I'm not sure how to define a vector and hence get the angle. Could you give an example?