Results 1 to 3 of 3
  1. #1
    New User
    Join Date
    Jun 2017
    Location
    Venezuela
    Posts
    1

    Importing animations from blender to Unity

    Hello people.

    Im new at using Blender (and Unity), so i have this little problem that i dont know how to fix.
    I made an animation in blender and saved it on the Unity game folder, the problem is that the animation should be an explosion, so the parts of the item that explode should disappear after some time but using the "visibility" and "Render" option doesnt work when i import it to unity.

    I mean, in blender when i play the animation it does what i want at the right frame, but in unity it doesnt disappear at this frame, it just stays there.

    Since im new at this i feel like im just not doing it right way, but hope someone can help me about this.



  2. #2
    Member arifoxs's Avatar
    Join Date
    Oct 2016
    Location
    Kudus, Indonesia
    Posts
    30
    Sorry if my statement is not clear, but you can send me a screenshot, I am an expert in unity and blender, I think unity does not fully support shader / effects in blender, you should configure shaders in material objects that not disappears, or if you want Make an explosion, you can just use Particles in unity3d,




  3. #3
    Unfortunately, Unity will not read the vast majority of Blender properties, including visibility. Unity does have its own visibility options, though, which you control via scripts. A good starting point is to add a script to the object in Unity, and have the script start a coroutine which waits the right amount of time, and then destroys the object.

    Here are some links to the Unity docs that might be relevant.
    https://docs.unity3d.com/ScriptRefer...onds-ctor.html
    https://docs.unity3d.com/ScriptRefer...t.Destroy.html

    If you will need to access the object later or make it visible again, you should use something like this instead of Destroy.
    https://docs.unity3d.com/ScriptRefer...SetActive.html

    Does this help at all?



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •