# ResolveOcclusionExtension

ResolveOcclusionExtension resolves occlusion in the sight of camera. Basically, it pushes camera forward until the view is clear, but you can also set different parameters to limit its maximum detection distance and the types of objects that should be deoccluded.

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F7Zy1I4A4xwjrkhwWBpap%2Focclusion.png?alt=media&#x26;token=40531287-3108-40ae-8b74-84e479b8acfd" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="142.33333333333331">Parameter</th><th width="145"></th><th>Description</th></tr></thead><tbody><tr><td>Occluder Params</td><td></td><td>A set of parameters defining occluder behaviours.</td></tr><tr><td></td><td>Trace Shape</td><td>Shape for tracing occluders. You can use either <em>Line</em> or <em>Sphere</em>.</td></tr><tr><td></td><td>Trace Single</td><td>Whether to only trace the first hit encountered. You can enable this property to improve runtime performance.</td></tr><tr><td></td><td>Object Types</td><td>Object types thet allow for collision detection.</td></tr><tr><td></td><td>Use Collision Profile</td><td>Toggle for using collision profile or not (the next parameter).</td></tr><tr><td></td><td>Collision Profile</td><td>Collision profile used to deal with camera deocclusion. If <code>UseCollisionProfile</code> is toggled on, use this, otherwise use <code>ObjectTypes</code>. If you don't find it works, in the profile set <code>Pawn</code> to <code>Ignore</code>. </td></tr><tr><td></td><td>Actors Types to Ignore</td><td>Actor types to ignore, including child types.</td></tr><tr><td></td><td>Actors to Ignore</td><td>Actors that should be ignored for collision detection.</td></tr><tr><td></td><td>Maximum Trace Length</td><td>The maximum length of ray used for trace. Set at 0 as the actual length from camera position to the aiming target actor (if it is null, use the following target actor).</td></tr><tr><td></td><td>Maximum Occlusion Time</td><td>Do not take any action until occlusion has lasted this long. Set at 0 to immediately take actions when occluision happens.</td></tr><tr><td></td><td>Sphere Radius</td><td>Sphere radius when <em>Trace Shape</em> is <em>Sphere</em>.</td></tr><tr><td></td><td>Show Debug</td><td>Whether to show debug info.</td></tr><tr><td>Minimum Distance From Distance</td><td></td><td>Ignore any obstables within this distance from target.</td></tr><tr><td>Camera Distance From Occlusion</td><td></td><td>Preserve a fixed distance from any obstacle.</td></tr><tr><td>Occlusion Damping</td><td></td><td>Damping time when avoiding occlusion. Small values indicate more responsiveness.</td></tr><tr><td>Restore Damping</td><td></td><td>Damping time when restoring from occlusion. Small values indicate more responsiveness.</td></tr><tr><td>Stage</td><td></td><td>Stage at which this component is executed. You can only change this property at the "Class Defaults" window.</td></tr></tbody></table>
