mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
trying new tablet position spwan
This commit is contained in:
parent
758ae9825d
commit
f5abb4a090
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ function calcSpawnInfo(hand, tabletHeight) {
|
|||
var TABLET_RAKE_ANGLE = 30;
|
||||
rotation = Quat.multiply(Quat.angleAxis(TABLET_RAKE_ANGLE, Vec3.multiplyQbyV(lookAt, Vec3.UNIT_X)), lookAt);
|
||||
|
||||
var RELATIVE_SPAWN_OFFSET = { x: 0, y: 0.4, z: 0.05 };
|
||||
var RELATIVE_SPAWN_OFFSET = { x: 0, y: 0.6, z: 0.1 };
|
||||
position = Vec3.sum(position, Vec3.multiplyQbyV(rotation, Vec3.multiply(tabletHeight, RELATIVE_SPAWN_OFFSET)));
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue