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"

How to change texture based on hitpoint

Think about a box, a bullet hits the box and from the hit point the the texture starts to change, going till the other side of the object gradually. Is it possible with blueprint?

and then when the process is done, if there is a player near by the infected object, it starts to take damage!

Product Version: Not Selected
Tags:
more ▼

asked Apr 29 '15 at 11:41 PM in Blueprint Scripting

avatar image

pierogonz
1 1 1 2

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

1 answer: sort voted first

Yes, you can do that in Blueprints. The bullet hits by applying decals at that point, and for overall texture changes you can make your own materials that accept parameters, and through dynamic material interface you can change those value at run time. Here is some documentation on that: mat instance docs

Also, there is a tool made to this type of thing. Look at Substance. substance link

more ▼

answered Apr 29 '15 at 11:48 PM

avatar image

mikepurvis
2.5k 102 67 261

avatar image pierogonz Apr 30 '15 at 09:01 AM

Thanks! but just as a follow up question, I can change the material in runtime but how can I make it start changing from the hit point location and gradually change the entire object? I'd say its probably the hardest part for me. maybe some examples could be nice if you have the time!

(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