Intermediate_OnkbaAWDAnimation Punch

Software: Away3D 4.x

John Brookes, Moderator
Posted: 02 February 2013 01:00 PM   Total Posts: 732

Load up the Intermediate_OnkbaAWDAnimation in the 4.1 dev examples.
Press E key to punch and keyup before the punch finishes.

Do that a few times and the character will sink into the ground.

Im guessing thats to do with the CrossfadeTransition.

So how do we get round the issue?

   

John Brookes, Moderator
Posted: 04 February 2013 01:39 PM   Total Posts: 732   [ # 1 ]

To add on to this.

Setting the animation node to not loop
eg
animationNode.looping = false;

press and hold the E key to punch.

At the end of the punch the character begins to sink while the E key is pressed.

   

John Brookes, Moderator
Posted: 04 February 2013 04:48 PM   Total Posts: 732   [ # 2 ]

Hello john wink

Its probably something to do with applyPositionDelta.
Which you can turn off but then you animation is suck at the origin.
Bit like how you see it in prefab.

The hack is (redo all your lovely animation)

Use a skeleton that has a root bone thats located on the origin throughtout the animation and you use the next bone to animate the whole body. Then you dont get the issues.


edit…
Just parent your skeleton animation to a bone placed at the origin and export.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X