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"

Easily Change Sprite Pivot Points?

Gif Example of (left) intended behavior and (right) default behavior: http://imgur.com/QdPVxG1

I'm trying to set up custom pivot points for my sprites from a sprite sheet, Do you just have to manually adjust the numbers until you guess the coordinates you want? I figure I must be doing something wrong since it seems like there should be a way to just click where on the sprite to pivot from... is there?

As it is, I just keep changing each frame of my imported sprites to get the same place on the unit despite varying image sizes (due to animation of weaponry) but each frame from the sheet only keeps the Y coordinate the same and the X keeps going higher and higher to find the middle, making it constant guesswork to find that same place on the actor as the images progress! (Example in Attached Images)

alt text alt text

If there's any easier way to set pivot points manually than entering coordinates at (near) random until I get to the point I want, please let me know!

Thanks! :)

Product Version: UE 4.14
Tags:
1.jpg (120.8 kB)
2.jpg (79.0 kB)
more ▼

asked Aug 03 '17 at 03:27 PM in Using UE4

avatar image

Brawph
6 1 2 3

avatar image mantic Feb 14 '18 at 11:11 AM

Have you found an answer yet? I'm wondering the same thing as I have 50+ sprites with custom pivot points and no easy way to set them...

avatar image Brawph Feb 14 '18 at 02:17 PM

Not that I recall, sadly :(

The only quality of life element I found was that if you set the Pivot point to something other than the default before switching it to custom, (Like Centre-Left then custom) it will fill in the coordinates in the custom box, so you won't need to reenter them from 0,0 each time at least...

Though since this is such an old thread, you could try posting something similar to this one again in hopes that more people see it and answer that one!

avatar image TruExtent Jan 25 '19 at 06:45 PM

I don't know how much this will help much I was looking for a solution myself when stumbling upon this thread. I popped back into Unreal 4 and ended up finding something.

If you select all the sprites in a particular set (example: a walking animation) in the Content Browser, you can then Right Click the selected sprites. Go to "Asset Actions > Bulk Edit via Property Matrix...". A new window will pop up. From here you can go to the panel on the right and hit the Sprite drop down. Change the Pivot Mode to whatever you need and save.

If you're using the Custom Pivot like I see in the screenshot, this should allow you to find one coordinate and then bulk change all of the Pivots to be the same without doing it individually. Like I did. Before I found this tool right after I was done doing it individually. Oye.

avatar image Brawph Jan 26 '19 at 02:09 PM

That's a really good tip! I've more recently been just using sprites that have enough whitespace on either side to avoid needing to do this. I've mostly been using Bulk Edit Via Property Matrix for things like RGB curve colour correction after importing sprites, but it would definitely help for this sort of thing, at least as long as the sprites all started at the same coordinates and needed to be moved a similar amount!

It seems like importing them as individual animation frames, rather than as a full sheet will keep all images with a base coordinate of 0,0 rather than each one increasing the coordinates as I mentioned in my first post.

(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