- Home /
Camera freezes when in bone hierarchy
Hi
I have a camera as a child of the head joint of a character animation. This is to give the camera the natural movement of the head (including rotations and position). This all works as intended until the scene it build. When the animation starts to play the screen freezes. This problem happens occasionally in the editor as well but very rarely and when it does happen it is possible to see that the actual animation DOES play through and the camera follows it, however the picture on the screen simply gets stuck..
sometimes this error shows up when the camera is selected:
transform.rotation of 'Preview Camera' is no longer valid, due to a bad input value. Input rotation is 0.380667, 0.598301, -0.385019, 0.590670. UnityEditor.DockArea:OnGUI()
It seems like this might have some sort of relation to the other problem. But it works most of the time in the editor and no rotations seem strange. What might be causing it?
The animation is made in motion builder..
Answer by Mish · Nov 29, 2011 at 02:13 PM
Found the solution, seems the model was going out of the screen at times, which made it required to set the culling type to "Always Animate".
Thanks this helped me a bunch, my camera collision was pushing my camera close to my character and he stopped animating.
This fixed my problem, thanks again.
$$anonymous$$uro.
Your answer
Follow this Question
Related Questions
fbx animation beats script animation? 2 Answers
Freeze camera 1 Answer
Distribute terrain in zones 3 Answers
How to freeze the rotation or the position on the camera transform? 1 Answer
Make the player go into the direction I am looking at 0 Answers