- Home /
Information about animation coordinates in real time.
Hi,
I'm trying to find out as much information about how Unity processes animation files, from the point of importing them to the point of them being played in a game. Mainly focusing on how the animation bone coordinates are used in real time, I assume each joint has a set of values that Unity uses but that is an assumption based on not a lot of fact.
Could you please point me to some sites, articles, blogs, books or anything that will help me learn more in detail about this area.
Or weather this information is private to Unity and I won't be able to develop with it.
Thanks.
Answer by Loius · Nov 17, 2012 at 07:35 PM
Each bone is a Transform, and Unity uses the data in the animation file (there are reader utitities available for most file types) to set position and rotation of the bones during animation. You can selectively disregard any part of any animation by overriding the bone position/rotation in your own code.
var rightArm : Transform;
function LateUpdate() {
rightArm.LookAt(target.position);
}
Your answer
Follow this Question
Related Questions
Can the animation editor create local rotational data? 3 Answers
Animation with parent changes coords on play 0 Answers
Adding animation clips via script 2 Answers
Animation Moves to 0, 0, 0 1 Answer