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"

moving massive amount of AI with low performance cost

Hello. I am trying to set a massive amounts of AI to follow the player, but I get a lot of performance drop. I'm using "move to actor" in a base class of the AI, so when any of the AI spawns they start to follow the player. The goal is to make about 600-700 (or even 1000) AI to follow the player.

Product Version: UE 4.18
Tags:
more ▼

asked Dec 06 '17 at 02:12 PM in Blueprint Scripting

avatar image

Golden4o
1 2 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

the problem are geometry and draw calls

if you have a Ai character mesh which has a 20000 vertex count and you want 1000 of them ... jup... To solve that you need lod's ( blender is good place for that )

And to reduce draw calls you should make sure that you only use one material for the entire Character mesh but that will not suffice because that make nevertheless 1000 draw calls so you need to wait until Epic release an update for the Engine which includes "Instanced Skeleton Meshes"

more ▼

answered Dec 14 '17 at 12:04 PM

avatar image

Master Gebjeter
138 4 8 13

avatar image Golden4o Dec 14 '17 at 12:18 PM

I think the problem in my case is the character movement component and tick events that are called from that component.

(comments are locked)
10|2000 characters needed characters left
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