cesium-unreal icon indicating copy to clipboard operation
cesium-unreal copied to clipboard

line trace by channel hit result is not correct

Open WxpGiser opened this issue 1 year ago • 9 comments

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 avatar Aug 22 '24 03:08 WxpGiser

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

WxpGiser avatar Aug 26 '24 06:08 WxpGiser

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.

kring avatar Aug 30 '24 03:08 kring

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

WxpGiser avatar Aug 30 '24 06:08 WxpGiser

Maybe StaticMesh location be shown in ue scene has error

WxpGiser avatar Aug 30 '24 06:08 WxpGiser

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.

kring avatar Sep 03 '24 11:09 kring

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 avatar Sep 04 '24 03:09 WxpGiser

ue5.4

WxpGiser avatar Sep 04 '24 03:09 WxpGiser

4378729130

WxpGiser avatar Sep 04 '24 10:09 WxpGiser

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

kring avatar Sep 06 '24 11:09 kring

@WxpGiser can you confirm that this still an issue for you? If so, please follow up with Kevin's comment above.

Otherwise, we'll close this issue for inactivity. Thanks!

j9liu avatar Jan 13 '25 17:01 j9liu