Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Missile collision question.  (Read 1545 times)

Hyph_K31

  • Admiral
  • *****
  • Posts: 1605
  • O' Hear My Name and Tremble! Ug Ug.
    • View Profile
Missile collision question.
« on: November 26, 2012, 01:10:59 PM »

Just a simple little question, that I should probably be ashamed to ask;

Is there a way to make a missile(homing) to only collide with other missiles and fighters?

Cheers.
Logged

"GEDUNE, stop venting in front of your classmates!"

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24125
    • View Profile
Re: Missile collision question.
« Reply #1 on: November 26, 2012, 01:14:34 PM »

Not quite.

You could set the collisionClass to RAY_FIGHTER or PROJECTILE_FIGHTER to only hit other fighters and missiles, but unlike normal missiles, it wouldn't be hittable by anything else. Although, offhand, I think PD systems would still try to shoot it down.
Logged

Hyph_K31

  • Admiral
  • *****
  • Posts: 1605
  • O' Hear My Name and Tremble! Ug Ug.
    • View Profile
Re: Missile collision question.
« Reply #2 on: November 26, 2012, 01:16:26 PM »

Hmm, I think that should suit my purpose perfectly.

Another little thing, can I make said missile have an impact value?

Edit:

Oh, and thanks a bunch! :)
Logged

"GEDUNE, stop venting in front of your classmates!"