This commit is contained in:
Seth Alves 2015-10-19 16:53:27 -07:00
parent bddbe89c86
commit 41f7ef1e2e
2 changed files with 3 additions and 5 deletions
examples/controllers
interface/src/avatar

View file

@ -497,8 +497,7 @@ function MyController(hand, triggerAction) {
timeScale: NEAR_GRABBING_ACTION_TIMEFRAME,
relativePosition: this.offsetPosition,
relativeRotation: this.offsetRotation,
lifetime: ACTION_LIFETIME,
// kinematic: true,
lifetime: ACTION_LIFETIME
});
if (this.actionID === NULL_ACTION_ID) {
this.actionID = null;
@ -550,8 +549,7 @@ function MyController(hand, triggerAction) {
timeScale: NEAR_GRABBING_ACTION_TIMEFRAME,
relativePosition: this.offsetPosition,
relativeRotation: this.offsetRotation,
lifetime: ACTION_LIFETIME,
// kinematic: true
lifetime: ACTION_LIFETIME
});
this.actionTimeout = now + (ACTION_LIFETIME * MSEC_PER_SEC);
}

View file

@ -175,7 +175,7 @@ bool AvatarActionHold::updateArguments(QVariantMap arguments) {
ok = true;
kinematicSetVelocity = EntityActionInterface::extractBooleanArgument("hold", arguments,
"kinematic-set-velocity", ok, false);
"kinematicSetVelocity", ok, false);
if (!ok) {
_kinematicSetVelocity = false;
}