]> Dogcows Code - chaz/yoink/blobdiff - src/Character.cc
testing improved runloop scheduling
[chaz/yoink] / src / Character.cc
index c5d48385c8793bc71db777f4e3416bc4dabe3909..3cae68009e4b998bf8b4b823538204bf6c803a66 100644 (file)
@@ -74,12 +74,12 @@ 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(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.020406 seconds and 4 git commands to generate.