Sweep/Raycast (Advanced)
Traces a ray or sphere from a configurable world or local origin, with collision and ignore filters; use it for advanced targeting and sensors.
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes 17 wire inputs: Additional Ignored Entities (any), Detect Bricks (bool), Detect Map (bool), Detect Physics (bool), Detect Players1 (bool), Detect Players2 (bool), Detect Players3 (bool), Detect Players4 (bool), Ignore Owning Grid (bool), Relative (bool), Collision Channel (int), Direction (vector), Distance (float), Exec (exec), Ignore Entity (entity), Origin (vector), Radius (float). Produces 9 outputs: Exec Out (exec), Hit (exec), Hit Brick (brick), Hit Color (color), Hit Distance (float), Hit Entity (entity), Hit Location (vector), Hit Normal (vector), Miss (exec). Configured with 1 property (set on the gate, not wired): Only Hit Player Body Parts (bool).
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Additional Ignored Entities (AdditionalIgnoredEntities) | any | No tooltip in source |
| Detect Bricks (bDetectBricks) | bool | No tooltip in source |
| Detect Map (bDetectMap) | bool | No tooltip in source |
| Detect Physics (bDetectPhysics) | bool | No tooltip in source |
| Detect Players1 (bDetectPlayers1) | bool | No tooltip in source |
| Detect Players2 (bDetectPlayers2) | bool | No tooltip in source |
| Detect Players3 (bDetectPlayers3) | bool | No tooltip in source |
| Detect Players4 (bDetectPlayers4) | bool | No tooltip in source |
| Ignore Owning Grid (bIgnoreOwningGrid) | bool | No tooltip in source |
| Relative (bRelative) | bool | No tooltip in source |
| Collision Channel (CollisionChannel) | int | No tooltip in source |
| Direction | vector | No tooltip in source |
| Distance | float | No tooltip in source |
| Exec | exec | No tooltip in source |
| Ignore Entity (IgnoreEntity) | entity | No tooltip in source |
| Origin | vector | No tooltip in source |
| Radius | float | No tooltip in source |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Exec Out (ExecOut) | exec | No tooltip in source |
| Hit | exec | No tooltip in source |
| Hit Brick (HitBrick) | brick | No tooltip in source |
| Hit Color (HitColor) | color | No tooltip in source |
| Hit Distance (HitDistance) | float | No tooltip in source |
| Hit Entity (HitEntity) | entity | No tooltip in source |
| Hit Location (HitLocation) | vector | No tooltip in source |
| Hit Normal (HitNormal) | vector | No tooltip in source |
| Miss | exec | No tooltip in source |
Configuration properties
Set on the gate itself in its properties panel — not wired. Distinct from inputs.
| Display name | Type | Tooltip |
|---|---|---|
| Only Hit Player Body Parts (bOnlyHitPlayerBodyParts) | bool | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Exec_Sweep
- Component class
- BrickComponentType_Exec_Sweep
- Kind
- exec
- Family
- Sweep
- Half size
- 8 × 5 × 2