Bruno Dilly
ae28b7a504
EPhysics: listen for associated evas object resize event
...
So physics body will resize together.
SVN revision: 75230
2012-08-13 22:24:47 +00:00
Bruno Dilly
3c27a0288d
EPhysics: fix updating bodies with evas object without
...
geometry
If a evas object associated to a body don't have w or h, don't
try to apply map / rotation on it.
SVN revision: 75229
2012-08-13 22:24:36 +00:00
Bruno Dilly
1de398ce60
EPhysics: add camera move event
...
SVN revision: 75228
2012-08-13 22:24:28 +00:00
Bruno Dilly
5088b6bb93
EPhysics: add test using different shapes
...
Position / size looks buggy.
Need to be fixed.
SVN revision: 75153
2012-08-10 21:05: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
2497491440
EPhysics: move code duplication to _ephysics_body_add
...
Also, add missing checks.
SVN revision: 75150
2012-08-10 21:05:05 +00:00
Bruno Dilly
fd6a61ed22
EPhysics: update images
...
Remove unused and add new images
SVN revision: 75149
2012-08-10 21:04:51 +00:00
Bruno Dilly
33613b8f09
EPhysics: Avoid garbagge in cb objects.
...
SVN revision: 75148
2012-08-10 21:04:42 +00:00
Bruno Dilly
9eb298827c
EPhysics: optimization and fixes for camera
...
Avoid calling update of inactive bodies if camera didn't really
moved.
And update them if camera_position_set is called.
SVN revision: 75147
2012-08-10 21:04:35 +00:00
Bruno Dilly
1de4a67ca0
EPhysics: fix world event callbacks management
...
SVN revision: 75146
2012-08-10 21:04:22 +00:00
Bruno Dilly
fb7528829b
EPhysics: avoid invalid read / writes on world free
...
Looks like we'll need to fix discrete dynamics world destructor
on bullet, but current revision is kind of messed.
I'll see what I can do later.
And yes, it will leak the ddw until it's fixed.
SVN revision: 75145
2012-08-10 21:04:16 +00:00
Bruno Dilly
cf6678bbd4
EPhysics: improving body's event callbacks management
...
SVN revision: 75144
2012-08-10 21:04:08 +00:00
Bruno Dilly
73e77dff26
EPhysics: fix sleeping threshold getter
...
SVN revision: 75143
2012-08-10 21:03:57 +00:00
Bruno Dilly
e1036529b3
EPhysics: re-write sleeping threshold test
...
It was buggy.
SVN revision: 75142
2012-08-10 21:03:47 +00:00
Bruno Dilly
2d2844d05e
EPhysics: properly handle body delete
...
SVN revision: 75141
2012-08-10 21:03:39 +00:00
Bruno Dilly
0bd1f327a4
EPhysics: properly handle world delete
...
SVN revision: 75140
2012-08-10 21:03:29 +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
595e8c8195
EPhysics: use inlist for worlds list
...
SVN revision: 75138
2012-08-10 21:03:01 +00:00
Bruno Dilly
d432a4faba
EPhysics: Add test exposing delete issues
...
Callbacks and bodies delete are not correctly handled.
SVN revision: 75137
2012-08-10 21:02:56 +00:00
Bruno Dilly
af1351f172
EPhysics: fix camera track test
...
SVN revision: 75136
2012-08-10 21:02:48 +00:00
Bruno Dilly
8973043481
EPhysics: camera test improved
...
Show how a moving background could be used with the concept of
camera.
SVN revision: 75135
2012-08-10 21:02:39 +00:00
Bruno Dilly
bc2d36257f
EPhysics: don't show background box on camera tests
...
SVN revision: 75134
2012-08-10 21:02:25 +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
70d44875dc
EPhysics: spinner theme
...
SVN revision: 74667
2012-07-31 20:39:25 +00:00
Bruno Dilly
36c8bd3338
EPhysics: update gitignore
...
SVN revision: 74660
2012-07-31 19:56:01 +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
79615bf7fe
EPhysics: update todo list
...
SVN revision: 74506
2012-07-27 14:50:45 +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
a05e66c88b
EPhysics: add test for collision filter
...
SVN revision: 74503
2012-07-27 14:50:14 +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
34734a4a72
EPhysics: small/trivial function return fix
...
This patch fix a compilation warning by _ephysics_world_contact_processed_cb
not returning. Bullet doesn't care about what is returned, so this
is just a compilation warning fix.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 74499
2012-07-27 14:49:20 +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
3ea072eca7
EPhysics: only build tests theme if tests are build
...
SVN revision: 74496
2012-07-27 14:48:19 +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
Bruno Dilly
f1f5266d9d
EPhysics: add no gravity test
...
This test covers linear and angular velocity setters, stop,
gravity set, and damping.
SVN revision: 73385
2012-07-05 22:53:40 +00:00
Bruno Dilly
6208fcfaf3
EPhysics: properly initializes library
...
It wasn't initializing required libs.
SVN revision: 73384
2012-07-05 22:53:28 +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
04ce52bd10
EPhysics: add shoot button to collision test
...
Style was missing.
SVN revision: 73314
2012-07-04 22:06:07 +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