-
Notifications
You must be signed in to change notification settings - Fork 367
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
Wiki Issue for Getting Started -> Animating using model bones #218
Comments
The repo where I am working on this is located here |
FWIW, all the tutorials source can be found https://github.com/walbourn/directxtk-tutorials |
I looked at the tutorial source and found the culprit, the line
needs to remain right after the lines where the bone arrays are made:
In this section of the wiki https://github.com/microsoft/DirectXTK12/wiki/Animating-using-model-bones#modifying-model-bones the last sentence is "(after you have loaded the model and created the bone arrays):" which made my code like this:
Hopefully this will help someone else who tries to follow the tutorial like I did. |
In this wiki documentation
https://github.com/microsoft/DirectXTK12/wiki/Animating-using-model-bones#modifying-model-bones
The result does not match the screenshot provided. The problem can be addressed either in the model or the CreateLookAt() function in Game::CreateWindowSizeDependentResources(). Since I don't have the original source file of the model I fixed it in the code with
The main fix being in changing the Vector3 parameters in the CreateLookAt() function.
The text was updated successfully, but these errors were encountered: