Skip to main content
GameDev.net gamedev.net
🔒 Locked

How to Scale Animation Object

Started by rubenhak Jun 15, 2012 at 10:25 PM 0 replies 900+ views
Original Post
rubenhak
rubenhak
Hi Everybody,

I've got an animated character imported to my engine which I want to scale. First I scaled the mesh vertex positions and the mesh itself looks perfect. The trouble is to scale my bones and animation transformation matrices. How should I multiply my transformation matrix so that animations of my bones would not get completely disassembled.

Thank you,
Ruben
eppo
eppo
You should scale the mesh as a whole after blending the bones. Otherwise, say if you were to scale the object up a thousand times, a matrix that would normally transform an arm, would suddenly find its center of rotation at the bottom of the character's foot.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.