# Bots/Actors can't trace Player Mesh by default

**URL:** <https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803>\
**Category:** World Creation\
**Tags:** trace-channels, unreal-engine, bots, Collision, question\
**Created:** [February 8, 2016, 6:19pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803 "2016-02-08T18:19:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![te4zer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@te4zer](https://forums.unrealengine.com/u/te4zer)\
**Post date:** [February 8, 2016, 6:19pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/1 "2016-02-08T18:19:17Z")

</div>

Today I tried to find out why the tracelines of my bots dont get my player as hit object. As you can see in my blueprint the hit object responded just an empty line even when the little red line hits my character.

 ![77835-traceproblem.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/9/e39377d52a8d641598e3341b8156b635c03f8a93.png)

This problem is caused by the **default collision** settings of a ThirdPersonCharacter.

The **Mesh \> Collision Response \> Visibility “ignores”** by Character Mesh default.

If this particular setting gets **set to block** , bot to player tracing works fine.

* * *

> I think this “default” has to be  
> changed.

* * *

**For replication:** just set up an actor an let him trace your ThirdPersonCharater and print that “hit object”.  
In Theorie you should get a string ThirdPersonCharacter, because of that settings, you get an empty line.

Let me know what you think about that.  
Anyway, Thank you for this great engine \<3

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 8, 2016, 7:01pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/2 "2016-02-08T19:01:21Z")

</div>

Hello te4zer,

If you would like to get the character when doing a line trace by channel you could do so by setting the trace channel to camera. I hope that this helps.

Make it a great day

---

<div class="post-metadata">

**Author:** ![te4zer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@te4zer](https://forums.unrealengine.com/u/te4zer)\
**Post date:** [February 8, 2016, 10:56pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/3 "2016-02-08T22:56:29Z")

</div>

no, not really, he bot character tracks himself then even with ignore self on!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 9, 2016, 2:35pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/4 "2016-02-09T14:35:35Z")

</div>

I tried to reproduce the ignore self not working issue and I was unable to do so. I have provided a picture of the example I am using.

Example:

These are the nodes that I am using to do a line trace for the player character. This setup ignores the “BotCharacter” that I have while providing a hit on the player character.

 ![77952-linetracebychannelhelp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/0/4103c6edb1028c55c16a3d096f65eaefefcddead.png)

Quick questions:

1. Can you reproduce this issue in a clean project?
2. If so, could you provide a detailed list a steps to reproduce this issue on our end?
3. Could you provide updated screen shots of any blueprints that may be involved with this issue?

---

<div class="post-metadata">

**Author:** ![te4zer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@te4zer](https://forums.unrealengine.com/u/te4zer)\
**Post date:** [February 9, 2016, 5:18pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/5 "2016-02-09T17:18:14Z")

</div>

As you advised, use camera mode, does not work!  
the onyl fix that works is that collision visibility change!

 ![77972-botdetectservicetracehimself.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/7/8775201ba1a8818b3c1a8f7aa505b10bfe90243a.png)

 ![77973-bottracehimself.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/a/d9a4c97a73dea35cae428c6e3dbed79cbe9b2b42.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 9, 2016, 8:41pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/6 "2016-02-09T20:41:19Z")

</div>

I am happy to hear that you have it working. However, could you provide answers to the questions from the post above? This will help narrow things down a bit further.

---

<div class="post-metadata">

**Author:** ![te4zer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@te4zer](https://forums.unrealengine.com/u/te4zer)\
**Post date:** [February 10, 2016, 5:26pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/7 "2016-02-10T17:26:01Z")

</div>

The point is, that in my opinion the “default collision of CharacterMesh preset” in the explained case should be set to “Visibility \> block”

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 10, 2016, 5:51pm UTC](https://forums.unrealengine.com/t/bots-actors-cant-trace-player-mesh-by-default/346803/8 "2016-02-10T17:51:55Z")

</div>

We will take your concerns into consideration, thank you for your time and information.

Make it a great day
