Hi there, I’ve got this sort of coal mine building that consists in 3 meshes:
- The coal mine building itself
- The coal mine cart
- The wheels of the coal mine cart (there are really two meshes: the front wheels and the back ones, but if we solve it, it should work for both of them)
The fact is that all the objects must ‘breathe in’ to simulate a bad action at the videogame I’m working on. For that, I use the Lattice modifier that works really well. But I also have to create a rotation action for the wheels, so when I make the translation of cart&wheels in Unity, the whole movement makes sense.
It all works well together, but my main problem is that I have to apply the action of the Lattice if I want it to use it when importing it to Unity. To achieve that, I apply the lattice modifier as a shape key, and then insert the 3 keyframes with:
frame: 1 - value: 0,
frame: 20 - value: 1,
frame: 40 - value: 0, ( again, breathing
)
Same as the modifier. And it seems to work, but when I compare the model with the shape keys applied to the original model using the modifier, the locations of both types of wheels match for frames (1,20,40) but the movement of the shaped key wheel doesn`t corresponds with the original one for the rest of frames. It seems that the interpolation between shape keys doesn´t work as the lattice modifier ones.
I would have posted a pic of the wheels at frame 1 and 20, where you could have checkeck that they matched, but you have to trust me as it only allows me to post 1 pic.
But these are the weels at frame 10 (for example), where you can slightly see the difference between Location.
How can I solve this? How can I apply the lattice modifier to work as before applying it?
