Some static objects like MetalPla__, bullets can go pass them, some objects are not like Concrete__, Stone__.... Is there any easy way to know that property in script?
EDIT: Nvm I found it. it's IObject.GetCollisionFilter().BlockExplosions which return true for those objects that bullets can pass through, false otherwise
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
How to know if a static object can be moved pass by projectiles?
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
-
NearHuscarl
- Superfighter

- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
- 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.
1 x
Gurt
