How should i go about creating a trending curve from a proximity value with a diegetic-interface?
I need to make a trending curve for a handheld scanner and that scanner works as HUD aswell. The scanner will show a trending curve of an object how close it is located = closer the object the higher will the curve go.
How would one go making this kind of complex system?
The curve will update for like once per 2 seconds or something in that line (easily changeable so it doesnt matter).
So how would you do this:
Also how do you make it so that the graphic is updated on the handheld scanner screen?
This is troubling me alot and the helper is most likely going to get something for the help :) (something just to show my appreciation)
Diegetic interface is just like in Dead Space that health bar system in back of the character and in this case it should be on the scanner we pick up from a table!
asked Mar 01 '17 at 08:16 PM in Blueprint Scripting
You could do this using CanvasRenderTarget2D. I'll show you a basic version below which should give you some ideas.
The Parent material, is the material you made in the previous step.
Add the above on begin play. The Canvas Render target class should be the BP you made in the first step. The time on the function will control how often the graph updates.
Then create a custom event that matches the name in the time, "UpdateScan". And set up the below:
Note that you will need to set a max and min distance that makes sense for your usage.
Example working below. I was using that cube as the target actor:
answered Mar 03 '17 at 04:54 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here