ElgSoft / ElgEditorScripting

ElgEditorScripting is an Unreal Engine 5 editor only plugin created to extend the possibilities of Editor Utility Widgets.
MIT License
193 stars 34 forks source link

GetMousePositionWorld not working #4

Open ThousandsRT opened 4 years ago

ThousandsRT commented 4 years ago

Hi. I've deleted my previous comment because it was irrelevant with the source on the problem. Si here it is : I found a problem with the LineTrace ( in multiple nodes like GetMousePositionWorld ) and I suspect it comes from the level editor context object. If the level contains only small objects, everything works fine, no problem. But if the level contains a big or a huge object ( a big ground for exemple ) the returned position ( by the GetMouseWorldPosition ) is 0.0.0, until I dezoom enough to have the whole object visible, and then it will return correct world position. And If I have a big sphere for projecting a sky around my level, there is no way that the node works as expected.

DrUiDWidlo commented 3 years ago

try to disable collision of your big sphere with sky. probably your are getting collision from this object.