Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Maybe someone here can help me with an animation problem cause i cant get help!

Discussion in 'Scripting' started by Maxske, Aug 19, 2015.

  1. Maxske

    Maxske

    Joined:
    Feb 20, 2015
    Posts:
    37
    Set Up: I am making a survival game and in my game, i have a character that has several animations so far. There is an idle animation, a punch animation, a run animation, swimming animations, all with bare hands. In my game, you can build stuff like an axe for chopping trees so i made 3 new axe animation, one for holding the axe, one for swinging, and one for walking/running. I made these animations in blender. I used a makehuman model and keyframed the motions and also keyframed the axe to the hand in blender.(I know i can make the axe a bone and attach it to the hand in blender but im not a blender pro and makehuman models are differentish). But anyway, all these animation work fine.

    Problem: The problem is, when i attach my new axe animations to my character, the animation plays but it is missing the axe. If i just put the animated piece into my scene, the animation plays with the axe. You will see in the pictures that when my character uses the animation, the axe is gone but if the animation is by itsself in the scene, the axe is there.

    b4ee4dc9a82f277993bfdd19353bc4d8.jpg 030924e8b95b3dc65513658b5ad74982.png
     
  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    Looks like the axe object is being culled because its bounds are outside the camera's viewing area.

    Do you have the culling set to Always Animate for the axe animator?
     
  3. Maxske

    Maxske

    Joined:
    Feb 20, 2015
    Posts:
    37
    I didnt have it on always animation before but i clicked it and it still doesnt show. It only shows if i put the axe animations as the first animations. But then the axe is there when i switch to my bare hands. So idk what to do