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

line trace by channel hit result is not correct #1506

Open
WxpGiser opened this issue Aug 22, 2024 · 9 comments
Open

line trace by channel hit result is not correct #1506

WxpGiser opened this issue Aug 22, 2024 · 9 comments

Comments

@WxpGiser
Copy link

open map CesiumSamples/Maps/10/10_CesiumOSMWindows_Metadata.
when i hit a building in one side,the result is not correct .
1

The hit is not on the buildting surface, the offset is very tiny,about one ue unit.

@WxpGiser
Copy link
Author

I just use rayTriangleParametric to pick UCesiumGltfPrimitiveComponent , also have the same problem.
So i transform gltf local position to ue world position using
pGltfPrimitiveComponent->GetComponentTransform().TransformPosition, the ue world position is not at the ue scene location which it should being. there is having a offset (-0.7,0.6,0.1)
7246537562875

@kring
Copy link
Member

kring commented Aug 30, 2024

Hi @WxpGiser, can you walk us through what you're doing step-by-step, and include what you expected to see and what you saw instead? I can't quite understand what you're saying is going wrong.

@WxpGiser
Copy link
Author

I think the CollisionMesh is not coinciding with StaticMesh in the ue scene

@WxpGiser
Copy link
Author

Maybe StaticMesh location be shown in ue scene has error

@kring
Copy link
Member

kring commented Sep 3, 2024

Well... maybe, but I don't know why that would happen. Please tell us how to reproduce the problem ourselves. That's likely to lead to a solution more quickly than speculating about the cause of a problem we can't see.

@WxpGiser
Copy link
Author

WxpGiser commented Sep 4, 2024

I just open the latest version CesiumSamples/Maps/10/10_CesiumOSMWindows_Metadata,then find this appearance,the CollisionMesh is not coinciding with StaticMesh in the ue scene,in one side at the building.

@WxpGiser WxpGiser closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
@WxpGiser
Copy link
Author

WxpGiser commented Sep 4, 2024

ue5.4

@WxpGiser WxpGiser reopened this Sep 4, 2024
@WxpGiser
Copy link
Author

WxpGiser commented Sep 4, 2024

4378729130

@kring
Copy link
Member

kring commented Sep 6, 2024

I'm still not sure what you're showing me. Please walk me through it step-by-step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants