Skip to content

Commit

Permalink
testing tractor demo
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Dec 22, 2019
1 parent 8561478 commit 9395a78
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions applications/demosSandbox/sdkDemos/demos/ServoJoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class dTractorModel: public dModelRootNode

dVector com;
NewtonBodyGetCentreOfMass(m_body, &com[0]);
com.m_y -= 0.5f;
com.m_y -= 0.75f;
NewtonBodySetCentreOfMass(m_body, &com[0]);
}

Expand Down Expand Up @@ -677,12 +677,12 @@ void ServoJoints (DemoEntityManager* const scene)
// MakeHeavyLoad (scene, matrix);

// add some object to play with
// LoadLumberYardMesh(scene, dVector(5.0f, 0.0f, 0.0f, 0.0f), 0);
// LoadLumberYardMesh(scene, dVector(5.0f, 0.0f, 6.0f, 0.0f), 0);
// LoadLumberYardMesh(scene, dVector(10.0f, 0.0f, -4.0f, 0.0f), 0);
// LoadLumberYardMesh(scene, dVector(10.0f, 0.0f, 2.0f, 0.0f), 0);
// LoadLumberYardMesh(scene, dVector(15.0f, 0.0f, 0.0f, 0.0f), 0);
// LoadLumberYardMesh(scene, dVector(15.0f, 0.0f, 6.0f, 0.0f), 0);
LoadLumberYardMesh(scene, dVector(5.0f, 0.0f, 0.0f, 0.0f), 0);
LoadLumberYardMesh(scene, dVector(5.0f, 0.0f, 6.0f, 0.0f), 0);
LoadLumberYardMesh(scene, dVector(10.0f, 0.0f, -4.0f, 0.0f), 0);
LoadLumberYardMesh(scene, dVector(10.0f, 0.0f, 2.0f, 0.0f), 0);
LoadLumberYardMesh(scene, dVector(15.0f, 0.0f, 0.0f, 0.0f), 0);
LoadLumberYardMesh(scene, dVector(15.0f, 0.0f, 6.0f, 0.0f), 0);
#endif
origin.m_x -= 10.0f;
origin.m_y += 4.0f;
Expand Down

0 comments on commit 9395a78

Please sign in to comment.