Garage Doors - Animation?,Garage Doors - how to animate?
Hi guys :)
I would like to make such animation: https://www.youtube.com/watch?v=3-Dsevu6PPg
I did model in Blender 3D: one door object with 4 bones. Exported this to *.fbx file and imported to Unity. Everything seems to work fine.
My structure in Unity is Doors / Armature / Bone / Bone1 / Bone2 / Bone3
I wrote script for each object. Here is an example for doors.cs:
and for bone3.cs:
But it doesnt work as I expected. Can anybody help me how I should solve this problem and write code to have similar movement like in attached youtube animation?
Thank you in advance!
doors.jpg
(24.1 kB)
bone-3.jpg
(28.8 kB)
Comment