Bruno Dilly
dfc0331373
ephysics: add some images to documented examples
...
SVN revision: 76702
2012-09-14 22:06:43 +00:00
Bruno Dilly
005be7be8c
ephysics: improve doc description and remove redundant
...
links
SVN revision: 76701
2012-09-14 22:06:09 +00:00
Bruno Dilly
ff792ee8e8
ephysics: improve diagram displayed on docs
...
SVN revision: 76700
2012-09-14 22:05:54 +00:00
Bruno Dilly
e7cbd4818a
ephysics: add link to modules page in docs header
...
SVN revision: 76699
2012-09-14 22:05:41 +00:00
Bruno Dilly
70c3dd925b
ephysics: small fixes on docs
...
Spotted by gastal
SVN revision: 76698
2012-09-14 22:05:29 +00:00
Ricardo de Almeida Gonzaga
e3822da595
ephysics: add a new example doc: Sleeping Threshold -
...
test_sleeping_threshold.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76697
2012-09-14 22:05:18 +00:00
Ricardo de Almeida Gonzaga
4be55425e7
ephysics: add a new example doc: Gravity -
...
test_no_gravity.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76696
2012-09-14 22:05:06 +00:00
Ricardo de Almeida Gonzaga
134d52aa9d
ephysics: add a new example doc: Velocity -
...
test_velocity.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76695
2012-09-14 22:04:56 +00:00
Ricardo de Almeida Gonzaga
e302c3d27e
ephysics: add a new example doc: Collision Filter -
...
test_collision_filter.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76694
2012-09-14 22:04:44 +00:00
Ricardo de Almeida Gonzaga
7ae00ec501
ephysics: add a new example doc: Collision Detection -
...
test_collision_detection.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76693
2012-09-14 22:04:31 +00:00
Ricardo de Almeida Gonzaga
ead58d536e
ephysics: add a new example doc: Bouncing Text -
...
test_bouncing_text.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76692
2012-09-14 22:02:12 +00:00
Ricardo de Almeida Gonzaga
886d35fc6d
ephysics: add a new example doc: Constraint -
...
test_constrant.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76691
2012-09-14 22:01:43 +00:00
Ricardo de Almeida Gonzaga
49366a7a84
ephysics: add a new example doc: Delete Body -
...
test_delete.c
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 76690
2012-09-14 22:01:28 +00:00
Bruno Dilly
b3ee2a8313
ephysics: increase doc pages title size
...
SVN revision: 76689
2012-09-14 22:01:16 +00:00
Leandro Dorileo
cb63d40a90
EPhysics: conditinal doc building
...
This patch introduces a --enable-build-docs-only and in that case
will not check for dependencies and will have just the make doc
target.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 76680
2012-09-14 15:51:30 +00:00
Bruno Dilly
3f27034dc7
ephysics: shrink convex shapes to avoid margin gap
...
SVN revision: 76563
2012-09-12 21:50:01 +00:00
Leandro Dorileo
81786a748a
ephysics: fix issues with world destructor
...
Makes sure the body is removed from the world before deleting it
so it will not mess with overlapping pair caches, proxies and so on.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 76562
2012-09-12 21:49:47 +00:00
Leandro Dorileo
075029bdfe
ephysics: soft body memory usage/leak
...
Added a call for sparsesdf garbage collector after every simulation
avoiding bullet's soft dynamics leaks.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 76561
2012-09-12 21:49:29 +00:00
Leandro Dorileo
3ecddb724a
ephysics: softbody
...
** linear/angular joints:
We don't need the linear and angular joints for soft bodies.
Actually these joint's are pulling the soft body towards (0, 0, 0).
The soft body is anchored with the rigid one, so limiting the rigid body
angular and linear movements seems to be enough.
** soft body configs:
Some soft body configurations were tweaked to fix issues of instability
of soft bodies.
** soft body hardness API:
Soft body hardness API was introduced as well.
** points of deformation:
The points of deformation were inverted;
** soft body mass:
Fixed issues with soft body mass changing, now it doesn't "explode" after
changing its mass.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 76560
2012-09-12 21:49:14 +00:00
Gustavo Sverzut Barbieri
9eb7f9bf35
ephysics: bump bullet requirement to 2.80
...
seems that before that it crashes in its own memory management.
SVN revision: 76482
2012-09-11 23:27:07 +00:00
Bruno Dilly
a59bbcf758
ephysics: update TODO
...
SVN revision: 76255
2012-09-06 17:18:28 +00:00
Bruno Dilly
35780ad7cf
ephysics: activate all bodies when one is deleted
...
Otherwise it can lead to scenarios when a body 1, below body 2 is deleted
and body 2 will stay freezed in the air. Gravity won't start to
act over it until it's activated again.
SVN revision: 76155
2012-09-04 22:42:35 +00:00
Bruno Dilly
d42b1c51c2
ephysics: fix unused vars and parameters
...
SVN revision: 76154
2012-09-04 22:42:28 +00:00
Bruno Dilly
06d88ea834
ephysics: pass evas object associated to body on del
...
event
SVN revision: 76153
2012-09-04 22:42:20 +00:00
Bruno Dilly
11891001f2
ephysics: fix camera move callback call
...
it should be called after moved flag was set to false
otherwise callback functions moving camera won't work correctly
SVN revision: 76152
2012-09-04 22:42:10 +00:00
Bruno Dilly
468d3cf25b
ephysics: Warn about bullet build issues
...
SVN revision: 76151
2012-09-04 22:42:02 +00:00
Jerome Pinot
62f2c5c1aa
ephysics: missing include in dist
...
SVN revision: 75735
2012-08-27 09:38:07 +00:00
Bruno Dilly
9b56c8b27a
EPhysics: expose bodies center of mass.
...
SVN revision: 75574
2012-08-22 20:05:35 +00:00
Bruno Dilly
aa76c79c86
EPhysics: fix tests using vertical impulse
...
SVN revision: 75573
2012-08-22 20:05:30 +00:00
Bruno Dilly
eae54a26ee
EPhysics: improve convex shapes
...
Center of these shapes were wrong, now it's much better.
But collision still seems a bit inaccurate.
SVN revision: 75572
2012-08-22 20:05:25 +00:00
Bruno Dilly
3627234fb8
EPhysics: use vertex reduction utility
...
Convex meshes often have too many vertices.
This slows down collision detection a lot, and there is no benefit in the
unnecessary details.
SVN revision: 75571
2012-08-22 20:05:19 +00:00
Bruno Dilly
e2534363a6
EPhysics: update docs regarding soft bodies
...
SVN revision: 75570
2012-08-22 20:05:14 +00:00
Bruno Dilly
f5891500b0
EPhysics: fix indenting and remove useless lines
...
No need to set to 0 zeroed memory.
SVN revision: 75569
2012-08-22 20:05:07 +00:00
Bruno Dilly
5044cf3501
EPhysics: remove a rigid ball and weird amount of mass
...
Let's see what was it masking and focus on making it works with
defaults.
SVN revision: 75568
2012-08-22 20:05:02 +00:00
Bruno Dilly
eec20918d0
EPhysics: don't show input msg if won't handle it
...
Also, respect 80 col
SVN revision: 75567
2012-08-22 20:04:57 +00:00
Bruno Dilly
ef82a631a9
EPhysics: keep tests in alphabetical order
...
SVN revision: 75566
2012-08-22 20:04:51 +00:00
Bruno Dilly
f484b5a683
EPhysics: add space between words on msg
...
SVN revision: 75565
2012-08-22 20:04:45 +00:00
Leandro Dorileo
18743b72ad
EPhysics: soft body implementation
...
Introduces soft body dynamics and calls to create soft circles and boxes.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 75564
2012-08-22 20:04:39 +00:00
Bruno Dilly
89eaea1c65
EPhysics: fix bug when changing head of worlds list
...
Animator callback was working with a not updated list pointer.
SVN revision: 75510
2012-08-21 17:47:29 +00:00
Bruno Dilly
dde0746fcb
EPhysics: improve bodies group description documentation
...
SVN revision: 75509
2012-08-21 17:47:24 +00:00
Bruno Dilly
a10277b529
EPhysics: don't activate body if not going to apply
...
forces
Otherwise it won't stop, sleeping thresholds won't work...
SVN revision: 75508
2012-08-21 17:47:18 +00:00
Bruno Dilly
335912df94
EPhysics: fix y component convertion on forces and
...
impulses
SVN revision: 75480
2012-08-20 22:18:14 +00:00
Bruno Dilly
80f7e6307c
EPhysics: consider gravity on forces getter
...
SVN revision: 75479
2012-08-20 22:17:34 +00:00
Bruno Dilly
335dcc1165
EPhysics: add test for forces API
...
SVN revision: 75478
2012-08-20 22:17:11 +00:00
Bruno Dilly
b66f460e84
EPhysics: test torque forces
...
SVN revision: 75477
2012-08-20 22:16:02 +00:00
Bruno Dilly
218004c9e3
EPhysics: add forces API
...
Implement functions to make it possible to control forces acting
over a body.
SVN revision: 75476
2012-08-20 22:15:52 +00:00
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