Avatar centered on belly during animation

Software: Away3D 4.x

chocobo_green, Jr. Member
Posted: 03 February 2013 03:42 AM   Total Posts: 38

The avatar stands on ground when not moving. But he falls down half a body when playing animation. The same thing applies in Prefab and App. How do I make him always stand on the ground? In the example the Ogre mesh gets adjusted by y=48. But how do I know this value? Do I have to try and estimate this by eye for every avatar I use?

   

Ankur, Jr. Member
Posted: 03 February 2013 06:22 PM   Total Posts: 43   [ # 1 ]

In your model, make sure that the pivot of the mesh you are animating is centred at worlds 0,0,0.
Also make sure that the skeleton’s pivot point is centered.

As for the position value, cant you just trace (avatarMesh.x) trace(avatarMesh.y) and trace(avatarMesh.z);  ._.

   

chocobo_green, Jr. Member
Posted: 04 February 2013 06:58 AM   Total Posts: 38   [ # 2 ]

Thanks for the instruction! It’s helpful.

But is there a way to make the avatar just stand on ground by default? I can do trace during development. But when it comes to real application, there should not be such process. There could be many avatars created by Artists and they should be imported and used without bothering a programmer.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X