playMaker

Author Topic: Multiple box colliders On/Off  (Read 2658 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Multiple box colliders On/Off
« on: April 28, 2015, 02:13:21 PM »
In a previous thread I brought up an issue about colliders.  If you have more than 1 on a game object then use the playmaker action on it, you can only set the first one.  The 2nd or 3rd can not be modified.

I'd like to see either or both:
1) Be able to turn off individual colliders on a game object (which would require each collider to be identified differently)
2) Turn all colliders on or off on a game object (with recursive box for children)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Multiple box colliders On/Off
« Reply #1 on: April 29, 2015, 03:05:41 PM »
dude,

was browsing the forum and saw your post. I adapted another action for this..

Collider: http://hutonggames.com/playmakerforum/index.php?topic=10242.0
Collider 2D (works as a script, type in name with no space - example: BoxCollider2D): http://hutonggames.com/playmakerforum/index.php?topic=10241.0

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: Multiple box colliders On/Off
« Reply #2 on: April 29, 2015, 04:03:04 PM »
Cool. I'll give it a try.