playMaker

Author Topic: Set Is Kinematic isn't Working  (Read 4446 times)

Keen

  • Playmaker Newbie
  • *
  • Posts: 4
Set Is Kinematic isn't Working
« on: November 23, 2012, 07:56:30 AM »
Hello, I'm having some trouble trying to get Set is Kinematic. However, it's not working as expected.

I've attached the file. I know its going to the state since when I click it, it plays a noise and the send event goes back to the beginning. The only thing it isn't doing is the "Set Is Kinematic" Action. What is it I'm doing wrong here?

DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 110
Re: Set Is Kinematic isn't Working
« Reply #1 on: November 23, 2012, 09:30:45 AM »
Your GameObject is supposed to have a rigidbody attached... I'd bet yours already have one. The state seems to be correct. Can you show us how did you set up the object you're trying to make non-kinematic?
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8

Keen

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Set Is Kinematic isn't Working
« Reply #2 on: November 23, 2012, 07:29:47 PM »
Yup its already got a rigid body. Actually it was working before with Mouse pick, but it wasn't working properly so I used the Mouse Down event instead. Is Kinematic works if I put it in the first state however, but for some reason it doesn't work when I put it in the Jumping state. Pulling my hair out here D=

Keen

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Set Is Kinematic isn't Working
« Reply #3 on: November 24, 2012, 07:42:12 PM »
Any takers? Its still not working, if I can't find a solution I'll probably just do it in normal unity scripting.

DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 110
Re: Set Is Kinematic isn't Working
« Reply #4 on: November 26, 2012, 09:59:56 AM »
Any other state toggling the 'Is Kinematic' property? I mean, does your 1st state reset that property after you go back from jumping?
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8

Keen

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Set Is Kinematic isn't Working
« Reply #5 on: November 26, 2012, 06:24:18 PM »
I think so, if I put it into the first start state it disables it correctly. It's only if I put it into the jumping state that it does that.

DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 110
Re: Set Is Kinematic isn't Working
« Reply #6 on: November 27, 2012, 10:49:45 AM »
Can you show us a screenshot of your FSM setting and actions per state?
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8