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"

Performance question: How many actors can call a function of another actor?

I'm making a shmup (shoot 'em up) and I have a Bullet Pattern actor sitting in my level. Every enemy that shoots a projectile calls functions in this actor. If I have, say, 40 enemies on screen, all of them calling this bullet pattern actor, will that affect performance? Would it be better if I just put all these bullet patterns in a base weapon class that way each enemy basically had their own?

I'm already noticing a performance drop with ~10 enemies shooting ~10 projectiles each and I'm trying to figure out the cause of it.

Product Version: Not Selected
Tags:
more ▼

asked May 18 '14 at 07:48 AM in Everything Else

avatar image

Kochab
534 59 164 124

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

1 answer: sort voted first

UE4 has a built in profiler tool so you can diagnose hitches in your game. You can see how much time is spent in certain functions and whether or not it's a problem.

https://docs.unrealengine.com/latest/INT/Engine/Performance/Profiler/index.html

more ▼

answered Jan 08 '15 at 12:58 AM

avatar image

Kochab
534 59 164 124

(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