-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add Skinny animation sample. #79
Conversation
rejurime
commented
May 29, 2023
- Add skinny animation sample.
- Add CustomPipelineManager to process animations content.
* Add skinny animation sample. * Add CustomPipelineManager to process animations content.
TGC.MonoGame.Samples/Animations/PipelineExtension/CustomPipelineManager.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se ve lindo pero hay que cambiar un par de cosas.
{ | ||
foreach (var bone in Bones) | ||
{ | ||
if (bone.Name == name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto va a buscar cada hueso por nombre. Podría estar en inicialización, pero cada vez que cambiás de animación va a ejecutarse y ya en el ejemplo de TGCito va a ejecutar ~70 veces este método. No podemos hacer esto por índice o algo similar?
/// Animation Clip player. | ||
/// It maps an animation Clip onto a Model. | ||
/// </summary> | ||
public class AnimationPlayer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puede ser una estructura.