]> Dogcows Code - chaz/yoink/blobdiff - src/Character.cc
testing improved runloop scheduling
[chaz/yoink] / src / Character.cc
index ccb2f9776dacc3216e75616235186c2a94665292..3cae68009e4b998bf8b4b823538204bf6c803a66 100644 (file)
@@ -73,13 +73,13 @@ Character::Character(const std::string& name) :
 
        // forces
        state_.force = moof::vector2(0.0, 0.0);
-       state_.forces.push_back(SpringForce(moof::vector2(5.0, 4.0)));
-       state_.forces.push_back(ResistanceForce(2.0));
-       state_.forces.push_back(moof::linear_state<2>::gravity_force(-9.8));
+       //state_.forces.push_back(SpringForce(moof::vector2(5.0, 4.0)));
+       //state_.forces.push_back(ResistanceForce(2.0));
+       //state_.forces.push_back(moof::linear_state<2>::gravity_force(-9.8));
 
        // starting position
        state_.position = moof::vector2(5.0, 5.0);
-       state_.momentum = moof::vector2(1.0, 0.0);
+       state_.momentum = moof::vector2(3.0, 0.0);
        state_.recalculate();
 
        prev_state_ = state_;
This page took 0.016441 seconds and 4 git commands to generate.