Similar to ControlGroupMovementObstructionFilter, but also ignoring a specific tag.
More...
#include <ICmpObstructionManager.h>
Similar to ControlGroupMovementObstructionFilter, but also ignoring a specific tag.
See D3482 for why this exists.
◆ SkipTagAndControlGroupObstructionFilter()
SkipTagAndControlGroupObstructionFilter::SkipTagAndControlGroupObstructionFilter |
( |
tag_t |
tag, |
|
|
bool |
avoidMoving, |
|
|
entity_id_t |
group |
|
) |
| |
|
inline |
◆ TestShape()
Return true if the shape with the specified parameters should be tested for collisions.
This is called for all shapes that would collide, and also for some that wouldn't.
- Parameters
-
tag | tag of shape being tested |
flags | set of EFlags for the shape |
group | the control group of the shape (typically the shape's unit, or the unit's formation controller, or 0) |
group2 | an optional secondary control group of the shape, or INVALID_ENTITY if none specified. Currently exists only for static shapes. |
Implements IObstructionTestFilter.
◆ m_AvoidMoving
bool SkipTagAndControlGroupObstructionFilter::m_AvoidMoving |
|
private |
◆ m_Group
entity_id_t SkipTagAndControlGroupObstructionFilter::m_Group |
|
private |
◆ m_Tag
tag_t SkipTagAndControlGroupObstructionFilter::m_Tag |
|
private |
The documentation for this class was generated from the following file: