I am trying to simulate a game in Box2D(Physics engine). The game that I am trying to simulate is very simple and can be found here: http://www.makaimedia.com/#/speartoss
What I want to know is that, is the spear in that game following real physics principles? In other words, if I went out and threw a spear, will it behave like the spear in this game? Specifically, I am taking about the rotation of the spear. In the game, the spearhead is point up first half of the trajectory and as soon as it hits the vertex, the spear head starts point down.
I am simulating a spear in Box2d physics engine. The density of the spear is 15x more than the density of the handle. I set an angle (between 0, 90 degrees) and give it a linear velocity like this:
b2Vec2 force; force.Set(cos(angle) * 22.0f , sin(angle) * 22.0f); _spearBody->SetLinearVelocity(force);
What happens is, the spearhead never points downwards. It stays at the exact same angle throughout the trajectory. Is this more realistic or the physics in speartoss game?