Dander7BD
6be72da03a
OysterPhysics3D updated
...
* changed Float4 in header API to Float3
* removed all Set...( Float4x4 ) methods
2014-01-28 09:24:09 +01:00
Dander7BD
ff936133fc
Physics engine now using struct MomentOfInertia
...
Some API impact for the other modules.
* Desc. structs
* State struct
2014-01-23 19:13:02 +01:00
Dander7BD
c3ed5e78ac
struct ::Oyster::Physics3D::MomentOfInertia
2014-01-23 18:45:33 +01:00
Robin Engman
5c85580ffd
Added gravity normal to state struct
2014-01-21 14:56:34 +01:00
Dander7BD
0107745c7e
Disable rotation
...
disabled at:
* RigidBody::Update_LeapFrog
* SimpleRigidBody::SetState
* SphericalRigidBody::SetState
2014-01-20 15:31:19 +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
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
727b2acb82
angular collision response fix
...
Incorrect formula found and corrected
2014-01-20 11:29:33 +01:00
Dander7BD
7834264e5f
Physics proj .. show all files should be set to false
...
That is how we in Physics rolls
2014-01-20 11:29:32 +01:00
Dennis Andersen
42de421904
Master - Modified igore
2014-01-08 13:07:55 +01:00
Dander7BD
fba52398c3
Merge remote-tracking branch 'origin/Physics' into Sprint2
2013-12-20 12:18:30 +01:00
Dander7BD
9a67e7ef3d
RigidBody::Move(..) added
2013-12-20 12:08:29 +01:00
Dander7BD
9aa584acc7
RigidBody::Predict_Leapfrog(..) added
...
needed for collision response rewinding/forwarding
2013-12-20 12:08:27 +01:00
Dander7BD
bbc489eac9
RigidBody improved and Gimbal lock proofed
2013-12-20 12:08:25 +01:00
Dander7BD
ff52977dcf
Bug fixes
...
including a hack
2013-12-20 12:08:24 +01:00
Dander7BD
9b9e549a5e
bug fix in bool Intersect( const Box &box, const Sphere &sphere, Float4 &worldPointOfContact )
2013-12-20 12:08:22 +01:00
Dander7BD
9cee69edd6
Extended friction content of the ICustomBody::State struct
2013-12-20 12:08:17 +01:00
Dander7BD
5051a9e767
Major StateStruct and API update
2013-12-20 12:07:45 +01:00
Dander7BD
96bf20e5ae
compile errors fixed
2013-12-20 12:07:43 +01:00
Dander7BD
dbb0c38432
Big patch
...
Loads of collision response related implementations/edits
2013-12-20 12:07:43 +01:00
Robin Engman
9cdbe2c861
Added algorithms for collision stubs
2013-12-20 12:01:08 +01:00
Dander7BD
e8952dc739
CollideAble implementations updated
2013-12-20 12:01:07 +01:00
Dander7BD
632570f66b
Updated the BoxVsBox collision alghorithm
...
and added overloaded
2013-12-20 12:01:06 +01:00
Dander7BD
a03568e19e
Updated formula for BoxVsBox point of contact
...
good enough approximation. Tested
2013-12-20 12:01:05 +01:00
Dander7BD
ec6cd72f3c
SeperatingAxisTest_AxisAlignedVsTransformedBox overloaded
2013-12-20 12:01:05 +01:00
Dander7BD
4858f573e6
Added more collision subs
2013-12-20 12:01:04 +01:00
Robin Engman
d8b323e230
Extractable collision point for SphereVSSphere
2013-12-20 12:01:03 +01:00
Dander7BD
a3ced24fea
Some compile error fixes
2013-12-20 12:01:02 +01:00
Robin Engman
61e1d20748
Fixed const problem
2013-12-20 12:01:02 +01:00
Robin Engman
5f305b7086
Oops
2013-12-20 11:59:38 +01:00
Robin Engman
283633c6c6
Added stub functions
...
More funcitonallity for intersect functions.
2013-12-20 11:59:37 +01:00
Dander7BD
de0078265c
Stub response to new ICollideAble method
...
Stubbed: Box, BoxAxisAligned, Frustrum
Fully implemented: Line & Universe
2013-12-20 11:59:36 +01:00
Dander7BD
da996a5deb
Added cirtual function to ICollideAble
...
Overload of Intersects(...)
2013-12-20 11:59:35 +01:00
Erik Persson
c801ab829a
Merge remote-tracking branch 'origin/Physics' into GameLogic
...
Conflicts:
Bin/Content/Shaders/TextureDebug.cso
2013-12-12 10:10:52 +01:00
Dander7BD
7ad60969fc
Sphere Vs Box collision detect fix
...
second ed. ... Works now! :3
2013-12-04 14:12:06 +01:00
Dander7BD
e0adc0ae93
Sphere Vs Box collision detect fix
2013-12-04 13:52:07 +01:00
Dander7BD
080bbf68fd
Collideables fixed
...
Missing returns
2013-12-04 11:42:11 +01:00
Linda Andersson
e658071643
GL- open a red window from lancher project
2013-12-04 11:32:43 +01:00
dean11
a852e8eab4
Created the game modules
2013-12-03 12:07:37 +01:00
Dander7BD
89fd71fb02
SimpleRigidBody factory done
...
not tested though
2013-11-28 12:08:41 +01:00
Dander7BD
3a6cb98b08
SimpleRigidBody factory done
...
not tested though
2013-11-28 11:58:46 +01:00
Dander7BD
36741de19b
Evil Incompotent Compiler fix
...
Sometimes the compiler decides to not compile constructors properly. :(
Edited all constructors in Collision3D to reduce chance of this.
2013-11-27 15:20:29 +01:00
Dander7BD
a869771ffa
Simple Rigid Body implementation
...
Second Iteration
[iteration 1]: stubs
[iteration 2]: implementations with shortcuts
[iteration final]: implementations with real solutions
2013-11-25 16:35:56 +01:00
Dander7BD
311beaac14
ICollideable edited
...
For some reason the Intersects() and Contains() methods were taking a
pointer as parameter then I am certain that I wrote it as a &-reference.
If someone edited this, there is no GIT history logged about it.
Please, DO NOT CHANGE this again, thanks
2013-11-25 14:22:38 +01:00
Robin Engman
6494bcb09e
Added more inertia functions.
2013-11-22 08:58:00 +01:00
Dander7BD
91af42c0bd
Merge conflict fixed
2013-11-21 17:27:28 +01:00