mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 19:16:56 +02:00
don't set release velocity
This commit is contained in:
parent
4ab727c47c
commit
3154b9d75f
1 changed files with 3 additions and 3 deletions
|
@ -895,9 +895,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