MeshParts with different orientations but same LookVector

Reproduction Steps
Run this: LookVector.rbxl (38.9 KB)

Expected Behavior
LookVector for P5 should point up (0, 1, 0) and P6 should point down (0, -1, 0).

Actual Behavior
Both are with LookVector on Z (0, 0, 1).

Issue Area: Engine
Issue Type: Other
Impact: Critical
Frequency: Constantly


Some days ago I opened a Build Support topic with this problem:

It’s an illogical problem, but I thought I managed to remedy this problem by recreating MeshPart P5 and P6.
I don’t know what’s happening, but the problem happened again.

As the result of LookVector to P5 and P6 is incorrect, I can not continue my program.

Well…

j6yr8f_92951

These are correct vectors, one’s front face is positive z the other is negative z

Fixed by rotating the front face to face the proper way:

TL;DR: Not a bug, the front face of the mesh is incorrect.

1 Like

Thanks, but where is this “Face Selector”?

It’s a plugin

Also, whoever made the mesh seems to have not aligned the front face with the actual seeming front face. Forward in roblox (in world space) is along the -Z axis.

1 Like

Thanks again, but this plugin only show the face.
How to fix it?

Well after doing some very basic testing in blender it seems that the front face needs to be along -Y axis before exporting. With other software, I wouldn’t be able to tell you.

or perhaps this will help:

I’m not very experienced in blender, but it does not look like a bug to me

1 Like

You solved a big problem I was facing and I had even created a series of workarounds via script to try to get around this problem.
Now everything is more logical.
Thank you very much! :+1: :grinning:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.