This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk
Forum rules
Forum rules
Add CollisionFilter.InteractProjectiles
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
NearHuscarl
- Superfighter

- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
Add CollisionFilter.InteractProjectiles
I want to know if projectiles can hit AND pass through an object (for example Metal Plate) to filter collision. I can use CollisionFilter.BlockExplosions as a workaround but it doesn't cover some cases like DinerBooth that can block projectiles but cannot block explosions.
Last edited by NearHuscarl on Wed Mar 04, 2020 11:40 am, edited 1 time in total.
1 x

- Danger Ross
- Superfighter

- Posts: 154
- Joined: Thu Mar 31, 2016 12:56 am
- Title: Dangerous
- SFD Alias: Danger Ross
- Started SFD: 14 june 2012 (launch day)
- Location: California
- Gender:
- Age: 25
Please also add this feature to raycasting. the same issue exists there. I have no idea if a raycast hit object will block a projectile or hit and pass through it.
1 x
sorry bucko, you can't punch with swords 
- Gurt
- Lead Programmer

- Posts: 1887
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 36
Added CollisionFilter.AbsorbProjectile and RayCastFilterMode AbsorbProjectile after v.1.3.4.
AbsorbProjectile indicates if a projectile will be absorbed (removed) when hitting an object or not. Use together with the ProjectileHit fiter option.
AbsorbProjectile indicates if a projectile will be absorbed (removed) when hitting an object or not. Use together with the ProjectileHit fiter option.
0 x
Gurt