Replies: 2 comments 1 reply
-
you can do animation within a 3D object (i think glb supports this), but threejs or similar could also support that |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fabien,
You can do this with either A-Frame or ThreeJS. If you just want to rotate the object, here’s some docs:
AFrame:
https://aframe.io/docs/1.7.0/components/animation.html
animation
aframe.io
ThreeJS (search for animation):
https://threejs.org/examples/
https://threejs.org/docs/#manual/en/introduction/Animation-system
You can also play pre-baked animations contained in the model, depending on the type of model it is:
AFrame: For GLTF/GLB models, use the C-Frame Animation Mixer component at https://github.com/c-frame/aframe-extras/tree/master/src/loaders
ThreeJS: https://discourse.threejs.org/t/how-to-control-glb-model-animations-in-a-frame-via-three-js/38936
Good luck!
… On Mar 4, 2025, at 8:04 AM, Fabien Wernli ***@***.***> wrote:
Hi,
First of all thanks for your wonderful software !
I'd like to know whether it were possible to spin an object using the animation property.
—
Reply to this email directly, view it on GitHub <#562>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAIO2LZ4CUGQ234C3DZPPI32SWQETAVCNFSM6AAAAABYJQALFGVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGAZTQMJYHA>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First of all thanks for your wonderful software !
I'd like to know whether it were possible to spin an object using the
animation
property.Beta Was this translation helpful? Give feedback.
All reactions