Traces
Traces are used to test whether there are collisions along a defined line segment. A trace can be done by channel or by object type, and can return the single or multiple objects that have been hit.
The channels available are Visibility and Camera. The object type can be WorldStatic, WorldDynamic, Pawn, PhysicsBody, Vehicle, Destructible, or Projectile.
The next screenshot shows the collision responses of a Static Mesh Actor. There are Collision Presets that can be selected, such as BlockAll, OverlapAllDynamic, and Pawn. Or, you can choose Custom… as Collision Presets and define the Collision Responses properties individually. The object type is set via the Object Type property dropdown, while the Visibility and Camera channels are ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access