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"

Skeletal Mesh Correct Orientation?

Hi, in the documentation Content standards is says that Skeletal meshes should face down "positive X-Axis" however both new and old project mannequins face down positive Y in addition to this the "ART" rigging tool-set creates its rigs in negative Y (in Maya). id like to know if there is a standard that epic uses and what the trade offs are, it would be frustrating to get too far down the line and have to change something so fundamental, i also dont want to run into orientation problems in my animation blueprints. any help would be grand, Thanks, ivy

https://docs.unrealengine.com/latest/INT/Engine/Content/ContentStandards/index.html

Product Version: UE 4.11
Tags:
more ▼

asked Jun 01 '16 at 10:36 AM in Using UE4

avatar image

r8ivy
194 9 11 27

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

1 answer: sort voted first

i don't think animation blueprints should rely on the orientation of the mesh, they usually just deal with the physics state of the movement component, and the orientation of the player controller. i try not to use "get forward vector" on meshes, and more generally, i try not to let code make any assumptions about art assets. if i want to use the orientation of a skeletal mesh in some kind of vector math, i will usually use a socket attached to the mesh. i consider sockets to be tech art glue, which gives programmers an interface to communicate with art, without making any assumptions about the underlying art. so whether you want to do vector math for moving IK limbs, or shoot a projectile towards the front of a skeletal mesh, you can use a socket to get your transforms just how you need them.


but i would love to know why epic doesn't follow their own content standards. im guessing its due to a lack of communication between a maya tech artist making awesome rigging tools, while Tim Sweeney was deciding on engine standards like Z = up, X= forward. i think Epic is split between max and maya, with modellers using max, and animators using maya, and they have different world coordinate swizzles.

more ▼

answered Jun 01 '16 at 11:29 AM

avatar image

ScottSpadea
9.6k 319 205 449

avatar image r8ivy Jun 01 '16 at 12:27 PM

i can see your point of view but i guess for me having no foreseeable problems is still not a good reason to have no consistency..... after all i'd be trying to avoid problems i haven't thought of yet. for instance there could be repercussions for a -90 to +90 rotation system. anyhow i guess ill just go with positive X in Engine as correct as that makes the most sense as forward from a pragmatic point of view. thanks for the insight, i found your comment really helpful. i hope you dont mind if i leave this as unanswered in case an epic dev can give me an insight on what standard they use currently.

avatar image ScottSpadea Jun 01 '16 at 12:49 PM

yeah, the only problems it could cause, is if you rely on the orientation of the mesh in code, but i suggest never doing that, and using socket transforms instead.

maybe it could cause some kind of gimbal lock, but if you are rotating a mesh in odd enough ways to cause gimbal lock, you should probably be using quaternions, instead of Euler angles. given that this engine is designed for first person shooters, the order they multiply matrices probably relies on the idea that most things wont roll, and most things rotate in yaw more than pitch, so starting with a messed up yaw offset should be the least likely axis to cause gimbal lock.

but i agree, i would love to hear from Epic staff, why they don't follow their own content standards with their example content. i have a feeling that its because their rigging software makes axis assumptions for bone/pose mirroring in Maya, but that's just a guess.

avatar image monotoan Sep 14 '16 at 08:08 PM

Yes, I find it weird that the default Third Person Character skeletal mesh is oriented facing the positive Y-axis instead of positive X. And then when it's place in the Third Person Character blueprint it's just rotated 90 degrees... but you can run into some major headaches as soon as you try to do any rapid prototyping with follow cam setups using the default character.

avatar image burntSpaghetti Nov 03 '18 at 06:54 PM

ttt for a response from epic

(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