I have this sphere in my scene that I want to move using forces. However, as soon as I apply the following:
model->AddForce(speed * Time::GetSpeed(),0,0);
the gravity of this object is almost reduced to 0 velocity.
Also, when trying to add a force to implement jumping, the sphere looks more like it is being positioned rather than and actual force is being applied. The jumping code is only activated when space is pressed and looks similair to the movement like above with the movement:
model->AddForce(0, jumpForce * Time::GetSpeed(),0);
This is the code of creating the sphere:
//Create a sphere
model = Model::Sphere(16);
model->SetPosition(0,4,0);
model->SetMass(1);
//Create a shape
shape = Shape::Sphere(0,0,0,0,0,0,1,1,1);
model->SetShape(shape);
shape->Release();