playMaker

Author Topic: Trigger event can't detect fast objects like bullet!  (Read 1522 times)

Silicon Power

  • Full Member
  • ***
  • Posts: 186
Trigger event can't detect fast objects like bullet!
« on: December 23, 2023, 09:25:37 AM »
Hi. I mentioned today trigger event can't detect fast objects like bullet! That's a big problem for me don't know how can I solve this maybe there is a way? Can someone please help me?

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
Re: Trigger event can't detect fast objects like bullet!
« Reply #1 on: December 23, 2023, 07:24:57 PM »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Trigger event can't detect fast objects like bullet!
« Reply #2 on: December 24, 2023, 08:12:00 AM »
for bullets you might want to do a raycast to hit, get the hit position for the bullet animation (to move the bullet to that position)
the raycast also will have the object that got hit, use that to damage the object (or give sparks fx if wall for example)