mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
better spatialkey
This commit is contained in:
parent
eb48342d07
commit
de953ce14d
1 changed files with 4 additions and 4 deletions
|
@ -12,8 +12,8 @@
|
|||
|
||||
Script.include("../../libraries/utils.js");
|
||||
|
||||
var WAND_MODEL = 'http://hifi-public.s3.amazonaws.com/models/bubblewand/wand.fbx';
|
||||
var WAND_COLLISION_SHAPE = 'http://hifi-public.s3.amazonaws.com/models/bubblewand/actual_no_top_collision_hull.obj';
|
||||
var WAND_MODEL = 'http://hifi-content.s3.amazonaws.com/james/bubblewand/wand.fbx';
|
||||
var WAND_COLLISION_SHAPE = 'http://hifi-content.s3.amazonaws.com/james/bubblewand/wand_collision_hull.obj';
|
||||
|
||||
var WAND_SCRIPT_URL = Script.resolvePath("wand.js");
|
||||
|
||||
|
@ -48,8 +48,8 @@ var wand = Entities.addEntity({
|
|||
grabbableKey:{
|
||||
invertSolidWhileHeld:true,
|
||||
spatialKey:{
|
||||
relativePosition:{x:0,y:1,z:0},
|
||||
relativeRotation:Quat.fromPitchYawRollDegrees(0,90,0)
|
||||
relativePosition:{x:0,y:0.1,z:0},
|
||||
relativeRotation:Quat.fromPitchYawRollDegrees(0,0,90)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue