summaryrefslogtreecommitdiff
path: root/legacy/ephysics/src/lib/EPhysics.h
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-12-05 13:50:08 +0000
committerLeandro Dorileo <dorileo@profusion.mobi>2012-12-05 13:50:08 +0000
commitd435db293105f9319fc8865558bd0edac104d318 (patch)
treee07bfe6b86f8d9cabcbc2e6c64ae85efcfe3e256 /legacy/ephysics/src/lib/EPhysics.h
parentac6cadd8dc2535478675f455baeb8807d44a9d96 (diff)
EPhysics: fix soft body velocity and stop implementation
+ 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
Diffstat (limited to '')
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index 1675fe3da4..5a3f9b124f 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -3282,6 +3282,8 @@ EAPI void ephysics_body_linear_velocity_set(EPhysics_Body *body, double x, doubl
3282 * @param z The linear velocity on axis z. 3282 * @param z The linear velocity on axis z.
3283 * 3283 *
3284 * @note EPhysics unit for linear velocity is Evas coordinates per second. 3284 * @note EPhysics unit for linear velocity is Evas coordinates per second.
3285 * @note For cloth bodies the returned value is a velocity average of nodes
3286 * velocities.
3285 * 3287 *
3286 * @see ephysics_body_linear_velocity_set(). 3288 * @see ephysics_body_linear_velocity_set().
3287 * @see ephysics_body_angular_velocity_get(). 3289 * @see ephysics_body_angular_velocity_get().