playMaker

Author Topic: Collision or Trigger? I feel confused  (Read 2204 times)

ar2511

  • Playmaker Newbie
  • *
  • Posts: 14
Collision or Trigger? I feel confused
« on: May 04, 2012, 01:22:49 PM »
Dear All, I am noobs

I am doing a game, the ball(player) touch/hit pipe(tag as pipe), it returns to starting point.

The ball is so far so good.


1st state Action: Drag Rigid Body+Collision Event
On Collision Enter ?


2nd Action:???set position ???
« Last Edit: May 04, 2012, 01:29:18 PM by ar2511 »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Collision or Trigger? I feel confused
« Reply #1 on: May 04, 2012, 09:19:19 PM »
Have you watched the tutorial videos to understand the core concepts (states, events, actions)?

You should also poke around the sample scenes. The TestLab samples are a good place to start...

But you're basically on the right track...

I would use Collision Layers instead of tags:
http://unity3d.com/support/documentation/Components/Layer%20Based%20Collision%20detection

Then just use the built in System Event: COLLISION ENTER to trigger a state transition.