Hello,
(French to Google trad^^)
I am new to playmaker. (2 weeks)
I've been looking for 2 days to find a way to do something that seems simple to me; make a crosshair appear at the raycast hitpoint.
(different from a bullet hole since I want the crosshair to stay where the hitpoint is all the time as long as I press the aim key (mouse right))
I followed tutorials including those found on this forum but old for some and file, image missing.
I found on the net a script that does what i want but buggy because the position of the crosshair is often elsewhere from where it should be.
I tried to redo the script in fsm but...
I would like to do it by myself but I know that I would not succeed, the rest i can manage but here i am blocked.
My vision: raycast, store hitpoint, and spawn image at hitpoint. Easy...
But it's much more complicated than I imagine.
There is an action or way to make the image appear at the hitpoint?
Like an action:
Get picture (action fsm)
enter where you want to spawn picture (var): hitpoint
select image: drag and drop image.
I tried many things like tween ui position, drag and drop gameobject crosshair and set it. (but i don't really know what to change/to do)
Here is if anyone has a little time to put me on the track, thank you.