# How expensive are shape traces?

**URL:** <https://forums.unrealengine.com/t/how-expensive-are-shape-traces/40634>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [September 3, 2015, 7:10pm UTC](https://forums.unrealengine.com/t/how-expensive-are-shape-traces/40634 "2015-09-03T19:10:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_843b6f1a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_843b6f1a](https://forums.unrealengine.com/u/anonymous_user_843b6f1a)\
**Post date:** [September 3, 2015, 7:10pm UTC](https://forums.unrealengine.com/t/how-expensive-are-shape-traces/40634/1 "2015-09-03T19:10:59Z")

</div>

Right now I have a capsule trace (sweep) that happens every tick. I assume sweep traces are relatively costly so would something like using a box overlap (the size of the capsule & its path) as a trigger for the capsule sweep be counter productive or a more efficient approach?  
Am I worrying over nothing?

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [September 3, 2015, 8:15pm UTC](https://forums.unrealengine.com/t/how-expensive-are-shape-traces/40634/2 "2015-09-03T20:15:35Z")

</div>

I’d imagine that a shape trace is not that expensive, since it is pretty similar to having a collision shape like a capsule and seeing where it overlaps/blocks  
, though I honestly don’t know, so don’t quote me on that.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_843b6f1a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_843b6f1a](https://forums.unrealengine.com/u/anonymous_user_843b6f1a)\
**Post date:** [September 3, 2015, 9:50pm UTC](https://forums.unrealengine.com/t/how-expensive-are-shape-traces/40634/3 "2015-09-03T21:50:33Z")

</div>

Thanks Jamendxman3, again 🙂

I couldn’t find any mentions of performance within the documentation and from google searches so maybe it’s nothing. I’ll stop worrying about it then, leave as is and move on.

Thanks again for the help.

---

<div class="post-metadata">

**Author:** ![ZoltanJr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZoltanJr](https://forums.unrealengine.com/u/ZoltanJr)\
**Post date:** [September 7, 2015, 6:14am UTC](https://forums.unrealengine.com/t/how-expensive-are-shape-traces/40634/4 "2015-09-07T06:14:46Z")

</div>

Do a test and bump up the number of traces you are doing and see what happens, thats usually the best way to test things since everybodies computer will perform differently.

---

<div class="post-metadata">

**Author:** ![ZoltanJr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZoltanJr](https://forums.unrealengine.com/u/ZoltanJr)\
**Post date:** [September 8, 2015, 3:54am UTC](https://forums.unrealengine.com/t/how-expensive-are-shape-traces/40634/6 "2015-09-08T03:54:22Z")

</div>

Best way to learn is to break it! 😃
