playMaker

Author Topic: Detect collision between two non rigid body objects?  (Read 2440 times)

ETGgames

  • Junior Playmaker
  • **
  • Posts: 56
    • ETGgames
Detect collision between two non rigid body objects?
« on: August 06, 2015, 04:29:50 PM »
So yeah, I have two non rigid body objects, and i don't want to add them, but trigger and collision event only work with rigid bodies. Help?

thatnzguy

  • Playmaker Newbie
  • *
  • Posts: 43
Re: Detect collision between two non rigid body objects?
« Reply #1 on: August 06, 2015, 06:40:24 PM »
As far as I know the trigger/collision stuff relies on reading from the rigidbody. So I usually slap a Rigidbody on but set it as kinematic.

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Detect collision between two non rigid body objects?
« Reply #2 on: August 06, 2015, 09:35:05 PM »
For trigger events you only need a collider

For collision events you need a rigid body afaik

If you have a collider without a rigid body nested in another collider and you want to use a trigger event on it then you need a rigid body set to kinematic
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

ETGgames

  • Junior Playmaker
  • **
  • Posts: 56
    • ETGgames
Re: Detect collision between two non rigid body objects?
« Reply #3 on: August 07, 2015, 05:06:18 AM »
Thanks guys!