From 2bdcb256d8103fa667304dce8b46cba687a4c691 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Mon, 19 Oct 2015 10:26:37 -0700 Subject: [PATCH] try another way of fixing held object snagging at slow velocity --- libraries/physics/src/EntityMotionState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/physics/src/EntityMotionState.cpp b/libraries/physics/src/EntityMotionState.cpp index a8194f76e3..6ddb8b6b45 100644 --- a/libraries/physics/src/EntityMotionState.cpp +++ b/libraries/physics/src/EntityMotionState.cpp @@ -302,7 +302,7 @@ bool EntityMotionState::remoteSimulationOutOfSync(uint32_t simulationStep) { _serverPosition += dt * _serverVelocity; } - if (_serverActionData != _entity->getActionData()) { + if (_serverActionData != _entity->getActionData() || _entity->getActionDataDirty()) { setOutgoingPriority(SCRIPT_EDIT_SIMULATION_PRIORITY); return true; }