XNA Creators Club Online
Page 1 of 1 (12 items)
Sort Posts: Previous Next

Screwed up animation (video links inside)

Last post 05-15-2008 9:27 AM by steffanp. 11 replies.
  • 03-12-2008 6:49 PM

    Screwed up animation (video links inside)

    Hi guys,

    I followed the tutorial for GuitarMatey and when using the models and textures supplied I could animate the model. When I went to use my own model, with just a Phong shader, the animation in XNA gets completely distorted.

    This is what the animation looks like in XNA.

    This is what the animation looks like in XSI (and what it should look like).

    Do you see anything obvious from these videos? I am really at my wits end with animation. I have tried everything from .FBX to .X to .XSI and everytime there is always a problem, like vertex weights, no animation, screwed up animation or materials. Is there a fool proof method to get an animation up and running? Because I really, REALLY need ehlp on this ASAP.

    Mucho gracias to anyone that can help.

  • 03-13-2008 11:27 AM In reply to

    Re: Screwed up animation (video links inside)

    Can you send the file over ? I can have a look.

    Alexandre Jean Claude
    Softimage/AVID
  • 03-13-2008 3:44 PM In reply to

    Re: Screwed up animation (video links inside)

    I also have problems with my animations. Sometimes the animations dont animate in XNA, I have followed the guitar matey exactly. And sometimes the same model can animate properly, and the next time I import it , it animate strange, liga only perform half tha animation. This is whitin the same XNA project. It feels like its random if my animations will work or not.
  • 03-13-2008 8:40 PM In reply to

    Re: Screwed up animation (video links inside)

    lol. I'm sorry, I have no idea, but that's really funny.
  • 03-14-2008 5:11 AM In reply to

    Re: Screwed up animation (video links inside)

    Alexandre Jean Claude:

    Can you send the file over ? I can have a look.

    I have uploaded the scene file HERE for you to look at. Thanks very much.

  • 03-14-2008 4:27 PM In reply to

    Re: Screwed up animation (video links inside)

    I actually just got to this point in the guitar matey project and I'm having a similar issue. It sucks because everything works great in XSI. I'm thrown for a loop.
  • 03-14-2008 4:34 PM In reply to

    Re: Screwed up animation (video links inside)

    I gave up on XSI and XNA to some degree 2 weeks ago.

    Good luck with this.  I have learned to do animations using more standard methods.
  • 03-14-2008 5:05 PM In reply to

    Re: Screwed up animation (video links inside)

    Ok, the problem is that the mesh is scaled (you should avoid scaling, especially for character rigs). To fix it:

    1. Switch to pro-mode, select your mesh

    2. Do Animate->Envelope->Reset Actor

    3. Open an Explorer view

    4. Under the PlayerMesh, open the Clusters->EnvelopWeightCls->Envelope_Weights property page

    5. Save a preset called temp (on the property page, there is a very small folder icon, click on it to open up the save/load menu)

    6. Select the mesh again and do Animate->Envelope->Remove Envelope

    7. Go in Transform->Freeze Scaling, the scaling of the mesh should now be 1,1,1

    8. Set the envelope back (Animate->Envelope->Set Envelope)

    9. Close all opened property pages. Open the Explorer view. Under the PlayerMesh, open the Clusters->EnvelopWeightCls->Envelope_Weights property page

    10. Load the preset called temp

    it should now work fine (it did when I tried it anyway :-))

     

    Alexandre Jean Claude
    Softimage/AVID
  • 03-17-2008 7:44 AM In reply to

    Re: Screwed up animation (video links inside)

    Great works perfect. I thought it had something to do with scaling but didn't think it was affected inside XSI.

    Cheers.

  • 05-14-2008 1:56 PM In reply to

    Re: Screwed up animation (video links inside)

    Hmm.. I am having the same problem as Ayatollah. but your approach does not work for me. If i build my model from scratch again and freezes the scaling, will that work?
  • 05-14-2008 6:04 PM In reply to

    Re: Screwed up animation (video links inside)

    try to freeze the other transformations as well, I had a similar problem and it worked for me... in my case I had to do "freeze rotation"
  • 05-15-2008 9:27 AM In reply to

    Re: Screwed up animation (video links inside)

    Thank you so much. Now my animation works 100% :D
Page 1 of 1 (12 items) Previous Next