summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ephysics/src/lib/ephysics_body.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/ephysics/src/lib/ephysics_body.cpp b/legacy/ephysics/src/lib/ephysics_body.cpp
index 4fd499ae15..7e532e21cd 100644
--- a/legacy/ephysics/src/lib/ephysics_body.cpp
+++ b/legacy/ephysics/src/lib/ephysics_body.cpp
@@ -438,6 +438,7 @@ _ephysics_body_sleeping_threshold_set(EPhysics_Body *body, double linear_thresho
438static inline void 438static inline void
439_ephysics_body_linear_velocity_set(EPhysics_Body *body, double x, double y, double rate) 439_ephysics_body_linear_velocity_set(EPhysics_Body *body, double x, double y, double rate)
440{ 440{
441 ephysics_body_activate(body, EINA_TRUE);
441 body->rigid_body->setLinearVelocity(btVector3(x / rate, -y / rate, 0)); 442 body->rigid_body->setLinearVelocity(btVector3(x / rate, -y / rate, 0));
442} 443}
443 444