Announcement

Collapse
No announcement yet.

"Forward" in unreal engine. Which is it?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Yeah I still don't know why the editor says front is Y but the assets go to X as the docs

    Aswell some assets made by Epic look to one side and other looks to other as you can notice in skeletal meshes
    Last edited by Hevedy; 05-28-2017, 05:16 PM.

    Leave a comment:


  • replied
    I find that Epic is inconsistent with this as well with their own assets.

    Leave a comment:


  • replied
    There are different orientations for different situations. The animation system and stuff like PHAT expects Y so that's why they import facing that direction. The gameplay stuff (like blueprints) expects X. That's why there's an arrow component in character blueprints, you need to match the direction of the mesh and the arrow. Usually you just need to rotate your skeletal mesh component by 90 degrees and it should be fine.

    I think there's even another difference regarding rendering/screenspace stuff but that should make more sense I guess.

    Leave a comment:


  • replied
    Originally posted by Zeblote View Post
    You sure about that? Did you even test it first?
    I made a simple arrow facing "forward":

    [ATTACH=CONFIG]142699[/ATTACH]

    In unreal, it's pointing towards -Y:

    [ATTACH=CONFIG]142700[/ATTACH]
    In you modelling software the arrow is pointing in the y axis but it should be x, ue4 won't magically make your object point in the x axis.

    Leave a comment:


  • replied
    I've found a comment hidden deep in the code explaining what's going on here:

    Click image for larger version

Name:	5gRcxxB.png
Views:	1
Size:	11.1 KB
ID:	1128696

    Leave a comment:


  • replied
    Originally posted by BlackRang666 View Post
    They aren't.
    You sure about that? Did you even test it first?
    I made a simple arrow facing "forward":

    Click image for larger version

Name:	gIdLYLj.png
Views:	1
Size:	109.4 KB
ID:	1128694

    In unreal, it's pointing towards -Y:

    Click image for larger version

Name:	UTwD59T.png
Views:	1
Size:	815.7 KB
ID:	1128695

    Leave a comment:


  • replied
    They aren't.

    Leave a comment:


  • replied
    Originally posted by Blue man View Post
    X is forward in Ue4.
    That's what I thought, but then why are meshes imported with -Y forward?

    Leave a comment:


  • replied
    X is forward in Ue4.

    Leave a comment:


  • started a topic "Forward" in unreal engine. Which is it?

    "Forward" in unreal engine. Which is it?

    I'm finding conflicting definitions of "forward" in unreal. It's clearly said to be +X in the code:
    Click image for larger version

Name:	8Xswh3g.png
Views:	1
Size:	7.2 KB
ID:	1220959

    Which seems to make total sense:
    Click image for larger version

Name:	2UpkdRO.png
Views:	1
Size:	2.9 KB
ID:	1220957

    However, setting a viewport to "front" makes it point at -Y:
    Click image for larger version

Name:	MZ9tFml.png
Views:	1
Size:	17.7 KB
ID:	1220958

    Importing a mesh from blender also changes it to -Y forward and +X right.

    Which is correct?
    Last edited by Zeblote; 05-27-2017, 10:17 PM.
Working...
X