I’m having some issues trying to create a “strategic map” for my game. Think of the map as a zoomed out view of a space ship and that this view will allow players to move their mouse to positions in 3d and then issue orders for that position.
If you have played Homeworld, it’s a similar idea.
My thinking is that the steps would be
select mode (like “Move”),
move the mouse on a horizontal plane, click,
then select on a vertical plane (all within a large sphere).
That final position in x,y,z space is where we want to move to.
I think I’ve sorted out the first and second steps - I can place a cursor under my mouse on the horizontal plane using collision plane intersection (PlaneXY), but I’m a bit stumped how to then lock X and Y and allow the player to move the cursor through Z (the vertical step)
idk if this is overly complicated… but here it is:
We need to have Left Click cycle to the three stages we want: off (0), find horizontal (1) and find vertical (2). We use an int we increment per click with its value repeating using modulus:
Hello, I am currently working with this blueprint, I believe I have it working correctly however I am having an issue with the Secondary plane disjointing from the rest, is there something I possibly missed? It seems to rotate fine but is oriented off center when the camera is rotated. The flat horizontal plane holds place just fine. I temporarily disabled my camera panning while the mode is active to see if it helps and it is less exaggerated if you cannot move the camera while performing this activity.
Hi folks, I’m a bit late to this thread, having just found it. I would like to know how set up the incremental integer and math expression for the mouse clicks, as I’m not familiar with those BP methods.
If anyone is still around to explain, I’m all ears!
I’m hoping to use this method to create a Homeworld style movement system for my game.
Hi @pezzott1 Yeah, I’ve been trying all sorts of things to get this to work and I keep hitting a wall. I feel like it shouldn’t be this hard haha.
Did you ever manage to get this working?