Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesh transform not preserved when used as room model #2324

Closed
byhag opened this issue Jun 21, 2018 · 1 comment
Closed

Mesh transform not preserved when used as room model #2324

byhag opened this issue Jun 21, 2018 · 1 comment

Comments

@byhag
Copy link

byhag commented Jun 21, 2018

Overview

When running in the Unity Editor, children of the Room Model GameObject in ObjectSurfaceObserver are all rotated and translated to (0, 0, 0) rather than preserving the transform.

Expected Behavior

Below shows the transform of one of the Room Model meshes and how it should be positioned relative to the other meshes.

image

image

Actual Behavior

The mesh transform is not preserved when used as Room Model.

image

image

Steps to reproduce

  • Add SpatialMapping prefab to scene
  • Parent several room mesh objects to GameObject to be used as Room Model with relative transform offset from the parent
  • Set Room Model
  • Hit Play
  • Check the rotation of the roomMesh objects parented to the SpatialMapping object

Unity Editor Version

Unity 2017.3.0f3

Mixed Reality Toolkit Release Version

2017.2.1.4

@keveleigh
Copy link
Contributor

Thanks for reporting this. I just opened #2325 with a fix. Please take a look and make sure it resolves your issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2017.4.1.0
  
Done
Development

No branches or pull requests

2 participants