Commit Graph

16 Commits

Author SHA1 Message Date
Leandro Dorileo 6a2d290fce EPhysics: body collision data
This patch introduces a wrapper(EPhysics_Body_Collision) to hold
the collision data(the contact body and collision position).

This data type is used by EPHYSICS_CALLBACK_BODY_COLLISION callback. The
collision detection test is migrated to the new API as well.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 74500
2012-07-27 14:49:37 +00:00
Leandro Dorileo ba55257c64 EPhysics: sleeping threshold and max sleep time
This patch introduces calls for setting the body's linear and angular
sleeping thresholds and to set the world's max sleeping time.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 74498
2012-07-27 14:48:59 +00:00
Bruno Dilly 564c23a80f EPhysics: add data setter / getter for bodies
Useful when you need structures per bodies to be updated on
collision callbacks.



SVN revision: 74495
2012-07-27 14:47:46 +00:00
Bruno Dilly 7dc1e7b4b7 EPhysics: fix mass getter
SVN revision: 74494
2012-07-27 14:47:23 +00:00
Bruno Dilly 564d1c412c EPhysics: fix missing const on some getters
spotted by k-s



SVN revision: 73419
2012-07-06 14:36:40 +00:00
Bruno Dilly ed473fb3ca EPhysics: add missing damping getter
SVN revision: 73386
2012-07-05 22:53:56 +00:00
Leandro Dorileo 2afffbd809 EPhysics: body damping set
This patch introduces a function for rigid body damping.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 73382
2012-07-05 22:52:53 +00:00
Bruno Dilly 9258827a93 EPhysics: expose linear factor
Makes it possible to restrict movement on specific axises.



SVN revision: 73313
2012-07-04 22:05:52 +00:00
Bruno Dilly c45cfc3be1 EPhysics: velocity setters and stop
SVN revision: 73312
2012-07-04 22:04:37 +00:00
Bruno Dilly 4fe7f69cd4 EPhysics: improve log msgs a bit and remove annoying one
Print world and bodies pointers so it's possible to track them.
And remove annoying "step" debug msg.



SVN revision: 73246
2012-07-03 23:21:11 +00:00
Bruno Dilly 9d0b63143b EPhysics: support autodel of bodies outside render area
Now it's possible to request a world to delete bodies outside
render area, so we can save some resources and avoid issues
with world stopped event.



SVN revision: 73245
2012-07-03 23:20:49 +00:00
Bruno Dilly ec5414e7bd EPhysics: fix velocity getters
SVN revision: 73185
2012-07-03 02:18:14 +00:00
Bruno Dilly dfd91827ee EPhysics: implement body velocity get
Implementation of functions for retrieving both the linear and angular
velocity on x, y and z axis.

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 73182
2012-07-03 02:15:28 +00:00
Bruno Dilly eb857cbfe1 EPhysics: split the callback enum for body and world
Should avoid a mess in the future.



SVN revision: 73179
2012-07-03 02:09:34 +00:00
Bruno Dilly 068e1711b0 EPhysics: implement event callback del full for body
SVN revision: 73178
2012-07-03 02:09:21 +00:00
Bruno Dilly 28d9f92ef2 EPhysics: a new library comes to E world
It’s a wrapper between Bullet Physics and EFL to add physics effects
in a simple way.

More details on README, TODO, and edevelop mail list =)



SVN revision: 72896
2012-06-26 22:36:12 +00:00