mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 13:00:12 +02:00
debug
This commit is contained in:
parent
9681145a1f
commit
ffe9036755
1 changed files with 3 additions and 1 deletions
|
@ -758,7 +758,7 @@ function MyController(hand) {
|
|||
|
||||
if (this.actionTimeout - now < ACTION_TTL_REFRESH * MSEC_PER_SEC) {
|
||||
// if less than a 5 seconds left, refresh the actions ttl
|
||||
Entities.updateAction(this.grabbedEntity, this.actionID, {
|
||||
var success = Entities.updateAction(this.grabbedEntity, this.actionID, {
|
||||
hand: this.hand === RIGHT_HAND ? "right" : "left",
|
||||
timeScale: NEAR_GRABBING_ACTION_TIMEFRAME,
|
||||
relativePosition: this.offsetPosition,
|
||||
|
@ -767,6 +767,8 @@ function MyController(hand) {
|
|||
kinematic: NEAR_GRABBING_KINEMATIC,
|
||||
kinematicSetVelocity: true
|
||||
});
|
||||
|
||||
print('Action update success:::'+success);
|
||||
this.actionTimeout = now + (ACTION_TTL * MSEC_PER_SEC);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue