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
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.
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.
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
Sorry, I was not being clear. Please have a look at this
0 x
- 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.
1 x
Gurt