Announcement

Collapse
No announcement yet.

World position to screen coordinates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Hi Reboot,

    What Blueprint are you trying to do this with? Is it the Level Blueprint because that won't work. When I mouseover the error message the tooltip tells me that it won't compile because the BP that I'm trying to use the "Project" function on is not a HUD.

    If you create a new Blueprint, expand the "Custom Classes" dropdown, then either find or type "HUD" in the search box.

    Click image for larger version

Name:	CustomClasses_HUD.png
Views:	1
Size:	67.1 KB
ID:	1050224

    You should get a short list including one simply titled "HUD" which describes itself as "The base class of the heads-up display" pick that one, cut and paste your existing blueprint projecting code into it and it should work just fine.

    Andy

    Leave a comment:


  • replied
    initialy i was using the position of an actor in worldspace but i simplified it even more for the tests.

    Click image for larger version

Name:	Untitled-1.jpg
Views:	1
Size:	105.2 KB
ID:	1050221

    I must be using it incorrectly... althrough i find it weird that it's saying target must have a connection when there is no target pin

    Leave a comment:


  • replied
    Show a capture of your BP

    Leave a comment:


  • replied
    I was messing around this node and i cannot get it to work.
    I keep getting" ErrorPin target must have connection" but i did !
    I passed on a make vector value, and outputed the coordinate through Project node...

    Leave a comment:


  • replied
    Found it right before you answered. But thanks!

    Leave a comment:


  • replied
    With the "Project" node.

    Leave a comment:


  • started a topic World position to screen coordinates

    World position to screen coordinates

    Does anyone know of any way to transform an actor's world transform (3d) to screen coordinates (2d)?

    Something like Unity's screentoworldpoint.
Working...
X