X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FCharacter.cc;h=3cae68009e4b998bf8b4b823538204bf6c803a66;hp=ccb2f9776dacc3216e75616235186c2a94665292;hb=e9a16d767785b1a903a4466ff26265a5f7dae9e5;hpb=382626aad0a683ed8642a6a807eea743db45f7f8 diff --git a/src/Character.cc b/src/Character.cc index ccb2f97..3cae680 100644 --- a/src/Character.cc +++ b/src/Character.cc @@ -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_;