Commit Graph

663 Commits

Author SHA1 Message Date
Dander7BD c3ed5e78ac struct ::Oyster::Physics3D::MomentOfInertia 2014-01-23 18:45:33 +01:00
Dander7BD ee5392c60d Vector::PiecewiseMultiplicationAdd
and a few other minor changes in the math lib
2014-01-23 18:34:48 +01:00
Dander7BD 163481ce4f Documentation edit
Were missing a final step about the ang. momentum toang. velocity
conversion documentation.
2014-01-23 18:33:48 +01:00
Dander7BD ff1fbdffa1 Vector::PiecewiseMultiplication 2014-01-23 17:13:50 +01:00
Dander7BD 76e4b23f19 Added documentation
Mathematical exercise on how to convert angular momentum to angular
velocity
2014-01-23 14:54:53 +01:00
Robin Engman 9c18ba14b9 Fixed kinetic calculation 2014-01-22 15:29:50 +01:00
Robin Engman bcbe67b620 Made default value of onCollisionResponse null 2014-01-22 14:09:53 +01:00
Robin Engman 53961f0e88 Added new onCollisionResponse handle 2014-01-22 13:50:54 +01:00
Robin Engman 0cae6261e9 ApplyEffect is now easier to handle for the user
Only needs a function with a pointer to an ICustomBody now.
2014-01-22 12:36:12 +01:00
Robin Engman 5c85580ffd Added gravity normal to state struct 2014-01-21 14:56:34 +01:00
Robin Engman 39e4f7881b Added typedef for collision response 2014-01-21 14:24:45 +01:00
Robin Engman b0227ab513 Merge branch 'Physics' of https://github.com/dean11/Danbias into Physics 2014-01-21 14:11:17 +01:00
Robin Engman 090d44b518 Added visit function to API
Called with collideable and hit action
2014-01-21 14:10:31 +01:00
Dander7BD 65db1bf90d lerp fix 3 2014-01-21 12:11:30 +01:00
Dander7BD 0d39240fc2 lerp fix 2 2014-01-21 12:08:31 +01:00
Dander7BD b422d2d509 lerp fix 2014-01-21 12:01:12 +01:00
Robin Engman 94f1c20817 Added more data to rigid body description.
Friction and restitution coeffs
2014-01-21 11:48:04 +01:00
Dander7BD ea647c185c Merge branch 'LERP' into Physics 2014-01-21 11:23:32 +01:00
Dander7BD 9a2d2b9490 Interpolation methods referred in ::Oyster::Math & Math3D 2014-01-21 11:23:03 +01:00
Dander7BD 408d51e46b SnapAxisYToNormal_UsingNlerp implemented 2014-01-21 11:15:33 +01:00
Dander7BD 43e5561995 Gravity fix 3 2014-01-21 10:34:22 +01:00
Dander7BD 7087421bb9 InterpolateAxisYToAxis_Nlerp implemented 2014-01-21 10:32:44 +01:00
Dander7BD 76723cf2d8 Gravity fix 2 2014-01-21 09:58:33 +01:00
Dander7BD 98563b6c33 Gravity fix 2014-01-21 09:27:52 +01:00
Dander7BD 748023bf9e Vector Nlerp fix 2014-01-21 08:57:18 +01:00
Dander7BD 2ec8662a83 Utility::Value::Clamp 2014-01-20 18:46:08 +01:00
Dander7BD 28fbcebf98 general lerp & vector nlerp 2014-01-20 18:45:34 +01:00
Dander7BD 24a6e7478e Merge remote-tracking branch 'origin/Physics' into Sprint3 2014-01-20 17:08:52 +01:00
Dennis Andersen 0a41d20099 GameLogic - Merged with graphics 2014-01-20 16:36:25 +01:00
Dennis Andersen 386b27e2f7 GameLogic - Merge with sprint2.5 2014-01-20 16:17:01 +01:00
Dennis Andersen 7cdfa726ea GameLogic - Merged with Sprint2.5, fixed physics errors 2014-01-20 16:09:58 +01:00
Dennis Andersen 1a3c63cda9 GameLogic - fixed some minor merging errors 2014-01-20 16:02:26 +01:00
Dennis Andersen ab2a3a3892 GameLogic - fixed some minor merging errors 2014-01-20 16:01:54 +01:00
Dennis Andersen 6c3c234be1 GameLogic - pree-sprint merge 2014-01-20 15:47:52 +01:00
Dander7BD 0107745c7e Disable rotation
disabled at:
* RigidBody::Update_LeapFrog
* SimpleRigidBody::SetState
* SphericalRigidBody::SetState
2014-01-20 15:31:19 +01:00
Dander7BD 82d1a03450 ICustomBody :: Custom Tag added 2014-01-20 13:44:12 +01:00
lindaandersson a1128986d5 Merge with Gamle Logic 2014-01-20 11:59:43 +01:00
Dander7BD 0b8ecd740a Added ICustombody event subscription
ICustomBody::EventAction_Move
if an object have moved, an event can now be subscribed.

External Impact:
ICustomBody
SimpleBodyDescription
SphericalBodyDescription
2014-01-20 11:29:43 +01:00
Dander7BD a8c87273e2 Gravity normal fix
Forgot to update that value. Done
2014-01-20 11:29:42 +01:00
Dander7BD 80c835be58 BoxVsBox pointOfContact fix
it was not translated
2014-01-20 11:29:42 +01:00
Dander7BD ff4a39cdac Gravity implemented 2014-01-20 11:29:41 +01:00
Dander7BD 337c92a5b8 Added Equal operators to Gravity struct
== & !=
2014-01-20 11:29:40 +01:00
Dander7BD 0f3c92cd52 Obsolete code removed
More commentated out than deleted actually
2014-01-20 11:29:39 +01:00
Robin Engman acb344ca44 Added missing mass and inertia 2014-01-20 11:29:39 +01:00
Dander7BD 2dfe312e04 AngularVelocity fix 2014-01-20 11:29:38 +01:00
Dander7BD a41d53b911 Revert "Inertia tensor fix"
This reverts commit 23dab9dea6.
2014-01-20 11:29:37 +01:00
Dander7BD 461d153036 Inertia tensor fix
should produce radian anglevelocities
2014-01-20 11:29:37 +01:00
Dander7BD 34dc27655b Tangiential formula fixes 2014-01-20 11:29:36 +01:00
Dander7BD f2c6cc5306 Revert "Work asssignment split line"
This reverts commit 8ecd263318.
2014-01-20 11:29:35 +01:00
Dander7BD 2314935f48 linear coll. resp. fix add
fix didn't cover all cases. Now it do
2014-01-20 11:29:35 +01:00