playMaker

Author Topic: Player collider for air hockey  (Read 2210 times)

kiugetski

  • Playmaker Newbie
  • *
  • Posts: 8
Player collider for air hockey
« on: June 19, 2014, 06:48:50 AM »
https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-xpa1/t31.0-8/p526x395/10468049_10152482810144568_8924926802538055063_o.jpg

hey there , is there a way to make each players to not cross the red line got the puck can ?
 :)

let me know plz :D

MajorIdea

  • Full Member
  • ***
  • Posts: 131
Re: Player collider for air hockey
« Reply #1 on: June 19, 2014, 08:48:30 AM »
Maybe using this custom action?

http://hutonggames.com/playmakerforum/index.php?topic=4184.0

You could add an invisible wall in the center and use it to tell the puck to ignore it.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Player collider for air hockey
« Reply #2 on: June 19, 2014, 11:09:21 AM »
http://docs.unity3d.com/Manual/LayerBasedCollision.html

You could use the collision matrix for that.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D