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"

Clipping: Is it possible to "bend" a flipbook/sprite? (images for clarity)

alt text

I am making a 2d/3d hybrid from the ground up and one of the issues bothering me while I sort out all of the systems is the clipping I get from my flipbooks into the 3d assets of the world. The paper2d flipbooks are all rotated at an angle to match the camera system (-35 deg for anyone who is interested) which fits the style well, but due to the rotation the flipbooks clip.

(top chest is rendered the same way as the second image below, bottom chest is the original flat plane)

alt text

What I would like to do if it is possible is have two flipbook planes intersecting each other with the vertical non-rotated plane mirroring the original rotated flipbook. It's important that they mirror each other and it isn't another separate flipbook if possible to prevent having to redo all of the blueprints/make two spritesheets for each object (the top of the chest, bottom of chest). The most difficult part of this that I cannot wrap my head around though is that I would need to hide the extra non-necessary areas of the mirrored AND original flipbooks creating a seamless bent sprite plane for the flipbook.

Perhaps there is a way to bend a flipbook at a given height (needs to be modular for different heights) that I am unaware of? This would be an even better solution as I could apply it to my character to only "bend" at a certain height based on collision, so the further the clipping would be, the lower the "bend". Could this be achieved somehow via a modification of the DefaultLitSpriteMaterial mat?

Would love to hear some thoughts on how to solve this issue, im open to other means of solving clipping too if anyone has any other methods.

Product Version: UE 4.14
Tags:
halp1.jpg (713.1 kB)
halp2.jpg (774.8 kB)
more ▼

asked Jan 23 '17 at 12:38 PM in Blueprint Scripting

avatar image

ArtificialOrigins
66 1 4 8

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

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