Applying a force on a rigidbody

Please don't post Bullet support questions here, use the above forums instead.
jms
Posts: 2
Joined: Sat Nov 15, 2008 9:14 am

Applying a force on a rigidbody

Post by jms »

Hi,

Iam having some problems, Iam trying to simulate a boat that pitch in the wind.
I know that I can apply a force on a rigid body with a force and position, but still am having problems.

Right now Iam using the vehicleDemo in Bullet as a ground to create this boat, so after the rigid body (boat) is created in a init physic its placed in a vehicleRaycaster.

I tried to apply the force on the rigid body, but no success :(
Any ideas on how and where I can apply this force on the rigid body?