Hello,
Anyone was able to detect the csgo shield with a ray trace ? I couldn't find how to.
The ray it-self is good, ent is not the ballistic shield.
PHP Code:
Handle trace = TR_TraceRayFilterEx(src, ang, MASK_SHOT, RayType_Infinite, EntityFilterSelf, ent);
TR_EnumerateEntities(src, ang, MASK_ALL, RayType_Infinite, enumerator, ent);
Things I've tried:
- TR_TraceRayFilterEx + MASK_ALL
- TR_EnumerateEntities + MASK_ALL
- TR_GetSurfaceProps
- TR_GetSurfaceFlags
- TR_GetHitBoxIndex
- TR_GetHitGroup
- TR_GetPhysicsBone
The csgo shield use this model: w_eq_shield.mdl. The model has an hitbox and collision model. The ray works if we spam this model as prop_dynamic.
Thanks,
K.