playMaker

Author Topic: Stuck already lol... [SOLVED]  (Read 2212 times)

shinodan

  • Full Member
  • ***
  • Posts: 180
    • Shinozone
Stuck already lol... [SOLVED]
« on: March 30, 2012, 01:27:23 PM »
Why wont this work? Ive attached the simple fsm snapshot and a picture of the game.

It works when i use MOUSE OVER, the gem destroys....

Sorry if im missing something really noobish.
« Last Edit: March 30, 2012, 06:05:06 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Stuck already lol...
« Reply #1 on: March 30, 2012, 02:17:06 PM »
I assume your character is using a Character Controller?

Collisions work a bit differently with Character Controllers...

The quickest way to fix this is to make your pickup a trigger (Select the Collider and check Is Trigger) and use TRIGGER ENTER instead.

Or you can use the CONTROLLER COLLIDER HIT event on the character. Note, you can use Get Controller Hit Info to get more info on the collision.

shinodan

  • Full Member
  • ***
  • Posts: 180
    • Shinozone
Re: Stuck already lol...
« Reply #2 on: March 30, 2012, 02:24:21 PM »
Oh my god! Thanks, that worked like a charm!