I cant seem to figure out how to great a widget that spawns when my actor overlaps with a other one. i want it to overlap and show for example: 100 points. and after 1 second that it will be removed. the widget will only spawn at a fixed location but the problem with that is I have actors walking around randomly. Can some pleas help me with this?
You have 2 options:
- create a widget and have it update its position on
Tick
using the target actor’s location - Add a WidgetComponent and attach it to the target actor
and after 1 second that it will be removed
This could be done with a Delay node
- if this is your widget:
- on overlap the character can detect something, create a widget and feed it a relevant actor reference that should be tracked:
5 Likes