Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

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:
    5,849
    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 ;)
     
unityunity