mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:27:04 +02:00
Add wantsTrigger to blocks
This commit is contained in:
parent
5022cdd2a7
commit
3cddf65ba1
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ getBlockProperties = function() {
|
||||||
modelURL: BLOCK_MODEL_URL,
|
modelURL: BLOCK_MODEL_URL,
|
||||||
shapeType: "compound",
|
shapeType: "compound",
|
||||||
//compoundShapeURL: BLOCK_COMPOUND_SHAPE_URL,
|
//compoundShapeURL: BLOCK_COMPOUND_SHAPE_URL,
|
||||||
|
userData: JSON.stringify({
|
||||||
|
grabbableKey: {
|
||||||
|
wantsTrigger: true
|
||||||
|
}
|
||||||
|
}),
|
||||||
dimensions: BLOCK_DIMENSIONS,
|
dimensions: BLOCK_DIMENSIONS,
|
||||||
dynamic: 1,
|
dynamic: 1,
|
||||||
gravity: { x: 0.0, y: -9.8, z: 0.0 },
|
gravity: { x: 0.0, y: -9.8, z: 0.0 },
|
||||||
|
|
Loading…
Reference in a new issue