playMaker

Author Topic: Bullet and enemies bounce  (Read 1509 times)

RC

  • Full Member
  • ***
  • Posts: 148
Bullet and enemies bounce
« on: August 25, 2014, 02:12:04 PM »
How do you make the bullet or enemies not to bounce when hit?
I'm using rigidbody and box collider on both bullet and enemies.

I want the enemies to take hits but not to bounce when they are flying towards the bullets.

Any help would be greatly appreciated . thank you!

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Bullet and enemies bounce
« Reply #1 on: August 25, 2014, 04:41:22 PM »
Hi,

Attach a child that has a collider set to trigger and make that one take the damage from the bullets. Set the parent collider (enemy) in a separate layer than the player.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez