x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Bots/Actors can't trace Player Mesh by default

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.

alt text

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

Product Version: UE 4.10
Tags:
traceproblem.png (254.3 kB)
more ▼

asked Feb 08 '16 at 06:19 PM in Bug Reports

avatar image

te4zer
46 2 10

avatar image Rudy Q ♦♦ STAFF Feb 08 '16 at 07:01 PM

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

avatar image te4zer Feb 08 '16 at 10:56 PM

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

avatar image Rudy Q ♦♦ STAFF Feb 09 '16 at 02:35 PM

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.

alt text

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?

avatar image te4zer Feb 09 '16 at 05:18 PM

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

alt text alt text

avatar image Rudy Q ♦♦ STAFF Feb 09 '16 at 08:41 PM

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.

avatar image te4zer Feb 10 '16 at 05:26 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

Make it a great day

more ▼

answered Feb 10 '16 at 05:51 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question