object3d attribute in animation
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
<a-entity id="logolight"
|
||||
position="0 6 0"
|
||||
light="type: spot; penumbra: 1; intensity: 5; angle: 20"
|
||||
animation="property: rotation; from: 0 50 0; to: 0 -50 0; dur:300; easing: linear; startEvents: audioanalyser-beat"></a-entity>
|
||||
animation="property: object3D.rotation.y; from: 0.87; to: -0.87; dur:300; easing: linear; startEvents: audioanalyser-beat"></a-entity>
|
||||
|
||||
<a-entity id="logosparks" bind__visible="menu.active" particleplayer="src: #logoSparks; scale: 1.4; pscale: 0.35; count: 10; dur: 600; on: logoflicker" position="-2.8 5.5 -7.2"></a-entity>
|
||||
<a-entity id="logo" bind__visible="menu.active" position="0 6 -7.5" rotation="90 0 0">
|
||||
|
||||
Reference in New Issue
Block a user