mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
switch back to springy grab
This commit is contained in:
parent
ed9907ce66
commit
f0ce698d78
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ function MyController(hand, triggerAction) {
|
|||
var offsetPosition = Vec3.multiplyQbyV(Quat.inverse(Quat.multiply(handRotation, offsetRotation)), offset);
|
||||
|
||||
this.actionID = NULL_ACTION_ID;
|
||||
this.actionID = Entities.addAction("kinematic-hold", this.grabbedEntity, {
|
||||
this.actionID = Entities.addAction("hold", this.grabbedEntity, {
|
||||
hand: this.hand === RIGHT_HAND ? "right" : "left",
|
||||
timeScale: NEAR_GRABBING_ACTION_TIMEFRAME,
|
||||
relativePosition: offsetPosition,
|
||||
|
|
Loading…
Reference in a new issue