Introduce a generic resize_cb for soft body faces and fix the
"not pre-resized evas object issue" for multi faces implementation as well.
--This line, and those below, will be ignored--
SVN revision: 80615
Add slices as member of obj smart parent - when it's the case -
so we can restack it when the received evas object is member of a
smart object.
Resize the evas object on ephysics_body_evas_object_set to w=1,
h=1 when its initial/original size is 0, this prevents errors on
evas_object_image_source_set().
Reset the soft body transform on resize - put it back to its
prior position - the one before scaling.
On body_move do not consider the moving of anchored rigid body
enough, move the soft body vertices as well.
--This line, and those below, will be ignored--
SVN revision: 80612
+ velocity
Handle cloth cases on velocity functions and consider both rigid
and soft body whenever touching velocities + stoping a body.
+ activation
Activate the body when setting angular velocity.
--This line, and those below, will be ignored--
SVN revision: 80248
This patch introduces a separeted API for handling with anchor hardness,
and fixes small problems with pose and soft body impulses.
--This line, and those below, will be ignored--
SVN revision: 80107
Delete the constraints a body belongs to on body removal and avoid
bullet to segfault.
--This line, and those below, will be ignored--
SVN revision: 79850
boundaries
If render geometry is not set yet, it will try to set a bad geometry
for the boundary boxes.
In this case, let these bodies with default size and only resize them
when render geometry is set.
SVN revision: 79791
This patch introduces API to get a list of triangles inside an
area and another to apply impulse - also - in a list of triangles.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79607
This patch avoids slices double deletion case ecore evas deletes the
slices evas objects before ephysics has actually shutdown and/or simulation
thread hasn't been canceled.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79605
implementation
This patch introduces the ellipsoid soft body and its multi face
implementation.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79603
body->evas_object anymore
So we can use the same functions to initialize the slices in case of
face slicing.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79598
This changes how initial points of deformations are mapped, now we
must support multiple faces so different points of deformation for
each.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79597
Prepare to use the same infra structure of slicing for soft body multi-face
deformation implementation.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79596
If a evas object has its layer reset so we must apply the change its
slices evas objects.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79595
This patch introduces the API ephysics_body_soft_body_bending_constraints_add
used define how deformeable a soft body is supposed to be.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79592
Unlikely the cluster generate bullet will not rebuild the bending
constraints every call, so we must prevent creating duplicated
constraints.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79591
If a user has asked for a boundary deletion do not wait until body_del
callback to clean it up to avoid returning a body marked for deletion
case the user decided to add it again.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79057
Issue found on ephysics_sandbox. The scale was been applied considering
the rigid body behaviour. This patch applies a reverse scale then scale
again.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 79056