-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load Animations? #1
Comments
It seems as though it's not returning True here:
|
converting the .dae to .scn the animation is still there. But the method sceneSource?.entryWithIdentifier return nothing. even tho the node has the animation keys. |
Hi @omarojo. Sorry, I never tried with a SCN file, and right now I cannot help you, my mac broke a few months ago and I have been disconnected from the iOS world since then. But are you using the latest version of XCode? If so, maybe entryWithIdentifier is now deprecated or there's a new API for this. Maybe someone else can see this issue and help. |
hi |
Hi @J-Arji I haven't programmed in ARKit for a while, but if I remember correctly, each animation has an identifier, so I guess you just have to get the animation you want by its identifier and then play it. The code shown in these links might help you: |
Hello!
So ive tried to follow your tutorial here: https://blog.pusher.com/animating-3d-model-ar-arkit-mixamo/ and my code is identical to yours but im getting an error thrown at playAnimation(...) because the animations array is empty even though loadAnimations(...) is called. Any explanation? Im fairly new to Swift.
The text was updated successfully, but these errors were encountered: