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?
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?