playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
https://playcanvas.com
MIT License
9.67k stars 1.35k forks source link

AnimatedTriangle.gltf does not rotate correctly #1964

Closed cx20 closed 4 years ago

cx20 commented 4 years ago

Description

I used the PlayCanvas built-in glTF Loader to display a glTF model. However, the model does not seem to rotate correctly. Previously, when displaying the glTF model using playcanvas-gltf, the rotation was correct.

Steps to Reproduce

  1. Display the glTF model with playcanvas-gltf PlayCnavav1.26.0-dev + playcanvas-gltf + AnimatedTriangle.gtf result: The model is rotated correctly.

  2. Display the glTF model with PlayCanvas' built-in glTF Loader. PlayCanvas v1.27.0-dev + AnimatedTriangle.gltf result: PlayCanvas_AnimatedTriangle_20200404_001 The rotation is not correct. Expected behavior expected_screenshot

This model is expected to rotate seamlessly. https://github.com/KhronosGroup/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_006_SimpleAnimation.md

cx20 commented 4 years ago

Thanks! I have confirmed that triangles rotate correctly in the latest version of PlayCanvas. PlayCanvas v1.27.0-dev latest + AnimatedTriangle.gtf result: