mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Added grab offsets to createPingPongGun.js
This commit is contained in:
parent
77264b3f99
commit
2dbb3bd84a
1 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,14 @@ var pingPongGun = Entities.addEntity({
|
|||
collisionSoundURL: COLLISION_SOUND_URL,
|
||||
userData: JSON.stringify({
|
||||
grabbableKey: {
|
||||
spatialKey: {
|
||||
relativePosition: {
|
||||
x: -0.05,
|
||||
y: 0,
|
||||
z: 0.0
|
||||
},
|
||||
relativeRotation: Quat.fromPitchYawRollDegrees(0, -90, -90)
|
||||
},
|
||||
invertSolidWhileHeld: true
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue