Search Unity

Aaargh...FBX animation frustration.

Discussion in 'Editor & General Support' started by VertexDesign, Jan 19, 2021.

  1. VertexDesign

    VertexDesign

    Joined:
    Oct 4, 2019
    Posts:
    5
    I have a FBX model with animation.
    I can open in Unity 2020 and the animation works using legacy no issues at all.
    BUT...when I turn off automatically play and script a OnTriggerEnter to a box to play the animation, it just will not play. 4 days now and am too tired to go on :)

    Link to fbx file here (if anyone has time to advise me or try and get it working):

    https://www.dropbox.com/s/2lxd6e48k2b5zpv/TankUpdate.fbx?dl=0

    Any help greatly appreciated.
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
    I doubt it has anything to do with the FBX. The problem will be somwhere in the way your scene is set up and your code. First step would be to add a simple Debug.Log() statement inside your OnTriggerEnter to make sure OnTriggerEnter is even running.
     
  3. VertexDesign

    VertexDesign

    Joined:
    Oct 4, 2019
    Posts:
    5
    Thanks for advice..I will test and let you know the outcome ;)