Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the 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.
-
- 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: 23
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: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
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