mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:09:52 +02:00
Merge pull request #4848 from PhilipRosedale/master
update position and rotation from the script, even though we should not have to
This commit is contained in:
commit
4a533748f4
1 changed files with 3 additions and 1 deletions
|
@ -260,9 +260,11 @@ function update(deltaTime) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Entities.editEntity(grabbedEntity, {
|
Entities.editEntity(grabbedEntity, {
|
||||||
|
position: currentPosition,
|
||||||
|
rotation: currentRotation,
|
||||||
velocity: newVelocity,
|
velocity: newVelocity,
|
||||||
angularVelocity: angularVelocity
|
angularVelocity: angularVelocity
|
||||||
})
|
});
|
||||||
updateDropLine(targetPosition);
|
updateDropLine(targetPosition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue