what i’m trying to make is a crosshair that shifts around the screen based on my characters direction and velocity.
At first i used a widget blueprint and moved an image but for some reason it left a duplicate behind.
So i went to the old Hud class and just drew a rect and moved it around which worked perfectly, except it was too fast. i want it to smoothly move across the screen but because draw rect doesnt save as a variable i can’t finterp it to a new location. so my question is how do i make it smoothly translate across the screen. i don’t think animating an image in the widget blueprint would work but i’m no expert so any direction would help thanks.
I could be missing the point here, but… ( not quite sure which direction you’re working in )
Why not calculate a location in the player on tick ( with interp ) and bind to that from the HUD?
1 Like
i’m not sure if your off or not. you saying i should calculate the position of my cursor on my character instead of the hud class?
I just noticed that statement. You can save variables in the player and use interp etc, and bind to that variable from the HUD.
I don’t know if it makes any sense…
1 Like
but if i can save variables on the hud whats the point of saving variables on the character? is there a way to interp that i’m not aware of?
Sorry, it’s probably me barking up the wrong tree…
1 Like
its ok i don’t think i’ve explained very well
1 Like