playMaker

Author Topic: Problems when I add a Rigid Body  (Read 1823 times)

Kaneydien

  • Playmaker Newbie
  • *
  • Posts: 15
Problems when I add a Rigid Body
« on: April 02, 2013, 06:22:17 PM »
Hi everyone, I am new to Unity and Playmaker and I have been going through the tutorials. I was doing the one with the treasure chest that has the open and close animation. I wanted to make it so my character wouldn't be able to move right through the chest, so I added a Rigidbody to the chest and turned gravity off. Unfortunately this causes the FSM to fire off, opening the chest. I was wondering why this happens, and how I could correct it. Thanks in advance!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Problems when I add a Rigid Body
« Reply #1 on: April 03, 2013, 01:51:46 AM »
Hi,

 likely because the feature that open the chest relies on physics triggers. But is it not what you want? that when the player come close to the chest it opens?

bye,

 Jean