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"

Best way to shrink an object? (Optimization)

Hi,

I am trying to shrink a ton of static meshes (up to 100 actors) in a player's view and was wondering what's the least taxing way to do so. I usually wouldn't consider this a problem but since I'm making a virtual reality game, shrinking that many objects at the same time will need me to carefully inspect my methods to prevent juddering.

I only know of two ways at the moment;

1) Create blueprint for each mesh, then subtracting the scale of its static mesh per frame until 0 using Event Tick or Timeline (Seems very taxing to me)

2) Create two static mesh (one full size and one small size) and morph each mesh to the target size using timeline graph

I also tried creating ~20 static meshes in a blueprint, then use find components -> apply method #1 to each component, thinking that this would be better than making 20 individual blueprints. Am I wrong?

Sorry if this isn't a good question, I'm pretty new to game development and hope someone familiar with the engine's code would help me out =) Thanks

Product Version: Not Selected
Tags:
more ▼

asked Mar 01 '15 at 04:10 PM in Blueprint Scripting

avatar image

michaeleeli
60 8 12 16

avatar image Narghile Mar 02 '15 at 12:38 PM

My guess would be that they are all going to have to put in a BP and run of Delta Time.

You only need to make the function once, and call it in each BP. Put it somewhere that you already might be casting to.

Narg

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

0 answers: sort voted first
Be the first one to answer this question
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