Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ar2511 on May 04, 2012, 01:22:49 PM

Title: Collision or Trigger? I feel confused
Post by: ar2511 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 ???
Title: Re: Collision or Trigger? I feel confused
Post by: Alex Chouls 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.