Download

Unanswered Questions

I have posted a few questions, but no one seems to know the answer or no one know about them or no one seems to care. So I’ll just ask here.

My first question:
https://answers.unrealengine.com/questions/231870/edit-texture-property-in-sprite-via-blueprint.html

My second question:
https://answers.unrealengine.com/questions/232174/put-3d-object-at-edge-of-screen.html

I’m not entirely sure what you mean in your first question (sprite one) can you elaborate?

About the second one, you can convert screen coordinates to world coordinates… for example top left corner would be x,y=0,0 in screen space, then you can use the Convert Screen Location to World Space node (accessed from player controller) to get the world location.
You would have to offset the world coordinates a bit depending on the object size and where the pivot point is of course.

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Game/Player/ConvertScreenLocationtoWorldSpac-/index.html

For the first question, here’s what I did.

  1. I create an ordinary texture.
  2. Then I created a sprite from that texture (via right click and select create sprite)
  3. Then I open that sprite.
  4. Inside it, I can see the **source texture **property.

Now the question is, how can I modify that source texture property dynamically from a blueprint?