Forum rules - please read before posting.

Drawer Handle Transform Copy Marker

edited May 2016 in Technical Q&A
Hello, here is my problem.

I made some moveable drawers, which when u click on they open/close.
The drawers have separate objects for the drawer handles

http://i.imgur.com/SLg496e.png

i am trying to make the handle move in a curved motion when you open the drawer like this

http://i.imgur.com/WjCmTi6.png

so i copied the transform component from this position to a marker, and set it in the same actionlist that opens the drawer to object: transform copy marker and set it the transition time to 0.3. I go in-game and click on the drawer, it opens, the curved motion for the handle works but when it finishes the motion, the drawer handle goes like this

http://i.imgur.com/DzCVhl5.png

How to fix that, so when it finishes the motion to stay there?
I have only been using Adventure Creator for a couple weeks, so i do not know what i am doing wrong, i searched the manual, tutorials and the forum and did not find a solution.
Thanks in advance

PS. If i remove the transition time, the handle works perfect, but it is instant. So i think the problem is with the transition time.

Comments

  • If you are rotating by 90 degrees, try instead having the Object: Transform Action rotate the object, rather than copy a Marker.  You may have to check Euler rotation? as well.

    However, the best way to go about this would be to animate the drawer and handle together in one animation clip.  You can do this using Unity's regular animation tools to create a Mecanim animation, and then play it back using Object: Animate.  This will give you more control over how the two objects move together, and can be used to give a more polished effect.
  • I was changing the position and the rotation simultaneously, so i had to use the object: transform copy marker.
    Finally i created a simple mecanim animation just as you said and it worked perfect.
    Thanks for the help and advice.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.