Robin Engman
6148783fe4
Added args to ApplyEffect
2014-01-28 10:18:26 +01:00
Robin Engman
f96c5a9f7e
Changed float4 to float3
2014-01-28 09:52:58 +01:00
Robin Engman
9c18ba14b9
Fixed kinetic calculation
2014-01-22 15:29:50 +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
090d44b518
Added visit function to API
...
Called with collideable and hit action
2014-01-21 14:10:31 +01:00
Dander7BD
43e5561995
Gravity fix 3
2014-01-21 10:34:22 +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
f660a5c64e
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-17 16:07:25 +01:00
Dander7BD
7c448792dd
Gravity normal fix
...
Forgot to update that value. Done
2014-01-17 13:30:07 +01:00
Dander7BD
36a8372072
Merge branch 'Gravity' into Physics
2014-01-16 11:36:31 +01:00
Dander7BD
44e071fba9
Gravity implemented
2014-01-15 10:44:31 +01:00
Dander7BD
e9ad87507f
Obsolete code removed
...
More commentated out than deleted actually
2014-01-15 09:06:57 +01:00
Dander7BD
8aa5ad7723
Revert "Work asssignment split line"
...
This reverts commit 8ecd263318
.
2014-01-14 09:16:54 +01:00
Dander7BD
cc68088298
linear coll. resp. fix add
...
fix didn't cover all cases. Now it do
2014-01-14 09:14:17 +01:00
Dander7BD
50b5b2dbf9
linear collision response fix
...
moved improved version of Robin's implementation
2014-01-14 09:12:37 +01:00
Dander7BD
8ecd263318
Work asssignment split line
2014-01-13 10:25:20 +01:00
Dander7BD
ca90b3ae3b
OnPossibleCollision updated
2013-12-20 12:08:33 +01:00
Robin Engman
a440cffb0e
Added function to get delta time
...
Now in local physics API
2013-12-20 12:08:32 +01:00
Dander7BD
ff52977dcf
Bug fixes
...
including a hack
2013-12-20 12:08:24 +01:00
Dander7BD
461fecd1d2
Bug fixing
...
SimpleRigidBody::GetNormal returned wrong results.
Second bounce impulse in OnPossibleCollision, should be subtracted
instead of added.
2013-12-20 12:08:24 +01:00
Dander7BD
840f000ec9
Bug fix in API_Impl OnPossibleCollision(...)
2013-12-20 12:08:22 +01:00
Dander7BD
4e21e2b0c0
Renamed Formula::CollisionResponse::Impulse to..
...
.. Formula::CollisionResponse::Bounce
2013-12-20 12:08:20 +01:00
Dander7BD
42418257cb
CustomBodies now aware of it's scene
...
+ other minor changes
2013-12-20 12:08:18 +01:00
Robin Engman
59d5a3dc1e
Created function for friction
2013-12-20 12:08:17 +01:00
Robin Engman
56dec6cf5d
Added "alpha" friction
...
Alpha means that the friction is not tested and most likely needs
tweaking.
2013-12-20 12:08:16 +01:00
Dander7BD
5051a9e767
Major StateStruct and API update
2013-12-20 12:07:45 +01:00
Dander7BD
dbb0c38432
Big patch
...
Loads of collision response related implementations/edits
2013-12-20 12:07:43 +01:00
Dander7BD
c854b1af58
Stuff
2013-12-20 11:59:35 +01:00
Dander7BD
1d94ed0ddc
Fixed MomentOfInertia methods
2013-12-04 11:30:56 +01:00
Robin Engman
b03e9af027
Fixed octree and API
...
Rewrote AddObject function in octree and OnPossibleCollision in
PhysocsAPI_Impl
2013-12-04 09:51:48 +01:00
Dander7BD
026b427deb
Implemented a temporary collision test update
...
Will only call the subscribed CollisioEventAction whenevera collision is
detected.
2013-11-29 10:00:07 +01:00
Dander7BD
5d5f684ad6
minor compilation error fix
...
Forgot that UniquePointer had a special operator for checking if it is
not NULL >.<
2013-11-29 10:00:04 +01:00
Dander7BD
ec7185f463
Bunch of implementations
2013-11-29 10:00:03 +01:00
Dander7BD
2928e08252
SphericalRigidBody factory done
...
not tested though
2013-11-28 12:13:14 +01:00
Dander7BD
3a6cb98b08
SimpleRigidBody factory done
...
not tested though
2013-11-28 11:58:46 +01:00
Dander7BD
07e3aa1697
Improved Collision Event Subscription
...
From now on, will each ICustomBody instance have it's own
collisionAction function.
2013-11-28 10:26:29 +01:00
Dander7BD
29362c8c60
Added more API & ICustomBody methods
...
API::Init
ICustomBody::SetSubscription
Gravity related calls
moved DLLMain.cpp
2013-11-26 13:28:46 +01:00
Dander7BD
26e5fde8b0
Some PhysicsAPI implementations
...
Nothing related to the oct tree though. That will have be done next
2013-11-25 16:57:38 +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
bf3dcd088b
Moar dll fixes for Physics
2013-11-25 12:21:44 +01:00
Dander7BD
cc67d227ab
Dll fixes
...
API::Instance were not properly implemented
Added __stdcall
2013-11-25 12:03:41 +01:00
Robin Engman
c3e3f9e461
Changed API.
...
Replaced unsigned int references with ICustomBody pointers and replaced
documentation as needed.
2013-11-25 10:54:27 +01:00
Dander7BD
6ac4254b9d
Documentations
...
PhysicsAPI mostly documented.
Namespace MomentOFInertia and ICustomBody still not documented
2013-11-25 08:57:47 +01:00
Robin Engman
3ef5a46779
Added functions to API.
...
Now has access to inertia functions through physics API.
2013-11-22 11:52:45 +01:00
Dander7BD
9749749748
IRigidBody done
...
Renamed to ICustomBody
* Added bunch of other stuff
2013-11-21 17:22:13 +01:00
Dander7BD
b8d0a106b3
Physics branch disaster Patch
...
critical changes in Sprint1 branch caused major problems for the physics
patch. Files had to be backed up, Physics branch destroyed along with
it's log data. So that a new Physics branch could be made from the new
Sprint1. This patch is those copied files put back into the new physics
branch. .. logdata and 3hours lost (1h/person)
2013-11-20 11:09:27 +01:00