Commit Graph

42 Commits

Author SHA1 Message Date
Bruno Dilly 4bccde902a EPhysics: rotation set implemented
SVN revision: 75475
2012-08-20 22:14:43 +00:00
Bruno Dilly d3e74fce50 EPhysics: implement generic apply impulse for bodies
It results in central and torque impulses.



SVN revision: 75474
2012-08-20 22:14:25 +00:00
Bruno Dilly 1ef5ae1a2d EPhysics: fix torque impulse
SVN revision: 75473
2012-08-20 22:13:38 +00:00
Bruno Dilly 5c32157f04 EPhysics: fix ephysics central impulse unit and
improve docs

It should use a unit based on pixels, not meters.
This way is more compatible with the rest of API and easier
to see the result.



SVN revision: 75472
2012-08-20 22:12:14 +00:00
Bruno Dilly df457b4645 EPhysics: implement body move(), resize()
It was already possible to move and resize using geometry get / set,
but if just one of the actions is wanted, this new API is easier for the user
and save a few operations.



SVN revision: 75471
2012-08-20 22:10:52 +00:00
Bruno Dilly 1328120089 EPhysics: small fix on body docs
SVN revision: 75331
2012-08-16 21:34:59 +00:00
Bruno Dilly 50413abfc9 EPhysics: drop camera zoom
Reasons:
 - we don't have previewed cases for that (would be code to be implemented
         and maintained without use)
 - can be done on user side changing world rate, camera position, objects size



SVN revision: 75329
2012-08-16 21:34:49 +00:00
Bruno Dilly 405c5affa1 EPhysics: fix constraint angular limit type
SVN revision: 75327
2012-08-16 21:34:39 +00:00
Bruno Dilly ab877d4d23 EPhysics: small fixes on sleeping threshold docs
SVN revision: 75326
2012-08-16 21:34:34 +00:00
Bruno Dilly 1de398ce60 EPhysics: add camera move event
SVN revision: 75228
2012-08-13 22:24:28 +00:00
Bruno Dilly 031d47d1a9 EPhysics: support bodies with generic shapes
Using EPhysics Shape.



SVN revision: 75152
2012-08-10 21:05:19 +00:00
Bruno Dilly 6c53875522 EPhysics: add EPhysics Shape
It will be used to create bodies with collision shapes other
than boxes or circles.

For now, only convex shapes.



SVN revision: 75151
2012-08-10 21:05:13 +00:00
Bruno Dilly 73e77dff26 EPhysics: fix sleeping threshold getter
SVN revision: 75143
2012-08-10 21:03:57 +00:00
Bruno Dilly 4d800075e7 EPhysics: use inlist for world's bodies list
SVN revision: 75139
2012-08-10 21:03:06 +00:00
Bruno Dilly bb43446421 EPhysics: small fixes related to slider constraint
SVN revision: 74700
2012-07-31 22:24:51 +00:00
Leandro Dorileo 701ed6b8fd EPhysics: slider constraint
This patch introduces the slider constraint, adds an slider constraint
test, move p2p constraint from ephysics_constraint_add to
ephysics_constraint_p2p_add migrates its usage.

Further work will migrate the btConstraint of p2p for Generic6Dof constraint
since it's flexible enough to implement most of constraints.


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



SVN revision: 74699
2012-07-31 22:24:20 +00:00
Bruno Dilly ca3e40782a EPhysics: allow user to configure simulation
Required to fine tunning performance or avoid objects going throught
others.



SVN revision: 74659
2012-07-31 19:55:52 +00:00
Bruno Dilly 0520b61219 EPhysics: implement body tracking by camera
It's flicking, code needs to be reviewed.
Theme needs love as well.



SVN revision: 74505
2012-07-27 14:50:36 +00:00
Bruno Dilly 24c2279813 EPhysics: fix collision detection point
Also improve docs and test.



SVN revision: 74504
2012-07-27 14:50:25 +00:00
Bruno Dilly 30a6d07376 EPhysics: implement camera position handling
Now it's possibly to keep default updates of evas objects
and has scenes larger than render areas.



SVN revision: 74502
2012-07-27 14:50:03 +00:00
Leandro Dorileo 7b6a83144f EPhysics: collision filter
This patch introduces a collision filter API. Once a rigid body
has been added to some group it must just collide against rigid
bodies in the same group, if no group has been attribute it's
going to collide against any other body.


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



SVN revision: 74501
2012-07-27 14:49:53 +00:00
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 b3e016122d EPhysics: add note regarding body data
Requested by Ricardo.



SVN revision: 74497
2012-07-27 14:48:41 +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 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 9b1d6ecb87 EPhysics: worlds solver mode
Add a function to enable/disable the world constraint solver mode.
Also add wrappers for bullets solver modes enumerations, and a function
to query the current status.


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



SVN revision: 73383
2012-07-05 22:53:14 +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 d1ba36f4ba EPhysics: constraint solver iterations
Functions to get and set the constraint solver number of iterations.

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 73249
2012-07-03 23:24:27 +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 22d76ad177 EPhysics: fix API regarding geometry and acceleration
units
Avoid messing Evas coordinates (pixels) with meters.
Change gravity setter / getter too.



SVN revision: 73184
2012-07-03 02:17:55 +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 d983ac3ae5 EPhysics: implement event callback del full for world
match data pointer



SVN revision: 73177
2012-07-03 02:09:12 +00:00
Bruno Dilly ea31a552ef EPhysics: add linear slop setter / getter for world
Constraint solver can be configured using some advanced settings, like
the solver slop factor.

Linear slop on sequencial impulse constraint solver is used as a factor
for penetration. The penetration will the manifold distance + linear slop.



SVN revision: 73066
2012-06-29 22:24:33 +00:00
Bruno Dilly 10a369a95d EPhysics: fix function references on docs
discomfitor spotted some issues, so now all the functions are
marked with @ref, so it will warn if they couldn't be found
on project. Except functions on @see section, since we
are already warned about them.



SVN revision: 73013
2012-06-28 14:02:02 +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