So we are making a menu, and for part of the menu we are animating the camera. We did all the import stuff that we are supposed to do, but it doesn’t import the animations. Anyone know what’s happening, and how to fix it?
Are you animating the camera in a 3d app (like maya) and expecting that camera animation to show up in unity? This does not automatically happen for you.
If you want to animate your camera via an FBX animation from your 3d app of choice, you should make some null object in your 3d app (like a locator in maya) that follows the path you want. Then in unity, you can parent your camera to this null object.
Thats what I’m doing, but it won’t import animations. I’ve told it the clips that will be used and everything also.
If you’re animating the camera along a curve in Maya then you have to bake the animations on import.
Its just a Key Frame animation imported from blender.
keyframe based as in keyframe based with bones?
Otherwise it does not exist.
Keyframe not based with bones, just the camera its self. It should work since bones are just objects parented to various vertices ( and or objects ) correct?
You most certainly can animate objects without bones… at least I know you can from maya. I don’t know if what dreamora is describing is a blender-only issue.
Again, it sounds like you’re animating your blender camera, and expecting that animation to transfer over to your unity camera… it doesn’t work that way. If you want an animation from your 3d app applied to your unity camera, you have to animate some object, import that object, and parent your camera to it. Your camera from your 3D app is supposed to be excluded from the .FBX export process because otherwise, every character, prop, environment, etc would be imported with an extra dangling “camera” object.
If you’re actually just animating a seperate object (like a bone or locator) and trying to parent your in-game camera to it, could you explain how its not working? Is the object following the desired path in blender just not showing up at all in unity? Or is it showing up and simply not moving?
Also, since this is for an animated menu, why not just animate the objects relative to a static camera?
The menu style calls for the camera to move in this way.
We tried animating a bone, attached camera (from unity) to it, still not working. It won’t import the animations, tried changing the names (as there was a previous animation that had the name idle) still didn’t work.
Blender → Unity only supports armature/bone based animations.
There’s several very recent threads about this in the External Tools section right now.
Ethan
I know, which is why in the last attempt we tried a bone animation, no change.
no more ideas?
just an idea… maybe try a simple thing first, for example moving box with bones ??
if that works in Unity, you can easily link your “Unity Camera” to that box, and delete the Mesh Renderer/Filter from the box
btw i’m not using Blender, so this is just an idea :P,
if moving box with bones doesn’t work than maybe something wrong with the exporter… since it’s quite simple…