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"

Split texture in flipbook material

Hi, I'm a super noob with materials and I'm struggling with this in the last couple of days.

I have a 4x4 spritesheet which includes 2 animations, 4 cols and 2 rows each. I've already created a flipook mat which loops through all of the 16 sprites, but what I want to do is to tell the material to consider just the last 2 rows of the sprite.

This is the very basic setup I have. alt text

How can this be done? Thanks!

Product Version: UE 4.20
Tags:
asd.png (218.4 kB)
more ▼

asked Aug 03 '18 at 10:27 AM in Using UE4

avatar image

Deadlyci0us
3 1 2

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

1 answer: sort voted first

The easiest way is to control with Animation Phase.
If you enter the time between 0.5 and 1.0 in the node, it should be the second half animation.
alt text

more ▼

answered Aug 03 '18 at 11:30 AM

avatar image

Nullh0ge
181 2 1 1

avatar image Deadlyci0us Aug 03 '18 at 11:39 AM

it works like a charm! i followed another similar thread with a similar solution but it was not adding the 0.5. thanks mate, you made my day!

(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