Download

How to get object under cursor (Taking shader offsets into account)

I want to get a reference to whatever mesh the player clicks in-game. Usually I would use a line-trace to do this. Or the ActorOnClicked event. However these methods don’t seem to take into account vertex offsets done in the static mesh’s shader/material.

Is there a way I can do this? The ue4 editor takes shader offsets into account, when you click/select an object. so im assuming it is possible.

Hi , try this too , really try i dont know if get the shader offfset too

Thanks for the suggestion. I just tried that node, but it seems that doesn’t account for shader offsets either.

bumpo bumpo

bumpy bump