mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
don't set release velocity
This commit is contained in:
parent
067a058799
commit
adb9118dc1
1 changed files with 3 additions and 3 deletions
|
@ -903,9 +903,9 @@ function MyController(hand) {
|
||||||
|
|
||||||
// the action will tend to quickly bring an object's velocity to zero. now that
|
// the action will tend to quickly bring an object's velocity to zero. now that
|
||||||
// the action is gone, set the objects velocity to something the holder might expect.
|
// the action is gone, set the objects velocity to something the holder might expect.
|
||||||
Entities.editEntity(this.grabbedEntity, {
|
// Entities.editEntity(this.grabbedEntity, {
|
||||||
velocity: this.grabbedVelocity
|
// velocity: this.grabbedVelocity
|
||||||
});
|
// });
|
||||||
|
|
||||||
this.grabbedVelocity = ZERO_VEC;
|
this.grabbedVelocity = ZERO_VEC;
|
||||||
this.grabbedEntity = null;
|
this.grabbedEntity = null;
|
||||||
|
|
Loading…
Reference in a new issue