use raycaster over aabb-collider for saber collisions
This commit is contained in:
@@ -60,8 +60,6 @@
|
||||
<a-mixin id="gameoverAnimation" animation__gameover="dur: 1000; easing: easeOutQuad"></a-mixin>
|
||||
<a-mixin id="mine" mixin="beat" beat="type: mine"></a-mixin>
|
||||
|
||||
<a-mixin id="wall" geometry wall material="shader: wall-shader; tex: #noiseTexture; env: #envmapWallTexture; repeat: 2 2; transparent: true; side: double">
|
||||
|
||||
<a-mixin
|
||||
id="beatScore"
|
||||
mixin="font"
|
||||
@@ -70,7 +68,13 @@
|
||||
animation__opacityout="property: components.text.material.uniforms.opacity.value; from: 1; to: 0; dur: 500; delay: 700; startEvents: startanim"
|
||||
animation__motionz="property: object3D.position.z; from: -2; to: -6; dur: 500; easing: easeOutQuart; startEvents: startanim"
|
||||
animation__motiony="property: object3D.position.y; to: 0.1; dur: 500; easing: easeOutQuart; startEvents: startanim"
|
||||
></a-mixin>
|
||||
></a-mixin>
|
||||
|
||||
<a-mixin
|
||||
id="wall"
|
||||
geometry
|
||||
material="shader: wall-shader; tex: #noiseTexture; env: #envmapWallTexture; repeat: 2 2; transparent: true; side: double"
|
||||
wall>
|
||||
|
||||
<a-mixin
|
||||
id="beatWrong"
|
||||
|
||||
Reference in New Issue
Block a user