Leonardo

Hi all,

I've been working on a rotating box, to produce a 3d effect.
The problem is, if I try to animate the scale of this box, it won't work as expected (see video): :grinfake



I followed this tutorial to create the rig:


But now I'm stuck with the animation process, as I really want to be able to animate the scale of the box, proportionally.
I've been trying to play around with new constraints, but to no avail...

Any help is very much appreciated (spine project is attached).
이 게시글에 첨부된 파일을 보기위한 권한을 요청할 수 없습니다.
Leonardo
  • 전체글: 8

Misaki

Hi, @Leonardo
I have tried to solve this problem using your assets, but I have not found a solution yet, though I got a bit different result.
box.gif

The thing I tried was just changing the rotation of the bones that are put on the four corners of the box texture so that they face the center point. Other than that, I followed the tutorial. Also, the difference from your project is that I did not put any additional bones for scaling, but just used the root bone to scale.

I’m not sure the solution but this rig uses two different methods for vertical and horizontal rotations, so I guess it is difficult to equally scale with one bone.

I've attached my Spine project file to this post. I hope this will help you.
이 게시글에 첨부된 파일을 보기위한 권한을 요청할 수 없습니다.
사용자 아바타
Misaki

Misaki
  • 전체글: 236

Leonardo

Hi Misaki,

Thank you so much for taking the time for this!
Your version works slightly better than mine.

I found out that if you set the value of the parameter Scale X Axis in the "Rotate_X_Constraint" to match the Root scale value, it will change proportionally.
For example, If you set the root scale to 0.2, the Scale X in the constraint should be -0.2



Unfortunately, this parameter can't be keyed in animation.
Leonardo
  • 전체글: 8

Nate

Sorry I'm late. You just need to scale the ROTATE_X, BOTTOM_ROTATION, and TOP_ROTATION bones. I made a bone called scale and a transform constraint, so you can just scale the one bone. Be sure to put the scale transform constraint in the right place in the constraint order.

http://n4te.com/x/3071-box-nate.spine

Edit: oh, I did it with the latest editor, which is the 4.1 beta, so you'll need the beta to open it. Sorry about that!
사용자 아바타
Nate

Nate
  • 전체글: 11386

Leonardo

Hi Nate and Misaki!

Perfect! Thanks to both of you, I finally can animate this right. People like you make the internet a better place.

Love from Portugal,
Leo
Leonardo
  • 전체글: 8


다시 돌아감: Editor