I want to have a image that spins in place 180 degrees and shows the image on either side.
You can set the front and back side, so I was wondering if there was a way to set an image on both sides.
<a-entity material="src:template.png; side: front" mixin="slide" class="intersectable" position="2 1 -3">
<a-animation begin="click" attribute="rotation" dur="2000" from="0 0 0" to="0 180 0" fill="forwards"></a-animation>
</a-entity>
You can either create two planes and put them back to back. Something like:
Or do something like a double-sided material for plane texture component. Here's the raw three.js code from How can I put two different textures on the front and back of a plane?: