playMaker

Author Topic: animation Door won't open  (Read 664 times)

mgervais

  • Playmaker Newbie
  • *
  • Posts: 21
animation Door won't open
« on: January 17, 2021, 12:55:19 PM »
Hi folks. I hope you can help me.

I have a door to which I have attached an animation component and a box collider that is also a trigger. (animations are legacy)

It is programmed in Playmaker in a way that if you enter the trigger area door should open and when you exit, door should close.

But as you can see in the animated gif attached, when the player enters or exit the trigger, only the box collider rotates but not the mesh.

How can that be if the box collider is a component of the mesh ?

If I open the animation in the timeline and I select the door, everything runs smoothly.

Thanks for your input

Mike

mgervais

  • Playmaker Newbie
  • *
  • Posts: 21
Re: animation Door won't open
« Reply #1 on: January 18, 2021, 03:40:46 PM »
Actualizing this post in case someone comes with something.

Need this figured out please.

Mike

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: animation Door won't open
« Reply #2 on: January 19, 2021, 08:32:22 AM »
Hi.
How are you ding the rotation?
probably you need the collider as a parent and the door as a child.
then rotate the door object.

mgervais

  • Playmaker Newbie
  • *
  • Posts: 21
Re: animation Door won't open
« Reply #3 on: January 20, 2021, 07:01:25 AM »
Hello djaydino,

Thanks for your suggestion. I will give it a try. Any other tips are welcome.

Mike