Doble click to move actor on all axes

Let say that i have sphere wich will
be the space

Not sure where the sphere you mentioned is coming in here.

  • are we inside of a hollow sphere
  • on the surface of a sphere
  • is the camera inside the sphere with us
  • do we need to interact with it somehow

Regarding movement:

  • are we moving at a constant speed at all times
  • does the click dictate when we move
  • or is the click responsible for direction only

I could go like this all day. It’s pretty much impossible to imagine what you have in mind. Especially the spatial aspect of it.

Do you have an example of the movement you’re talking about? A crude sketch with arrows? A YT vid? Another game that used something similar?


Anyway. you can convert mouse location to world coordinates like so:

Image from Gyazo

Other than that, I have no idea how else it’s supposed work atm.


You can also create virtual planes with line-plane intersection node, that would allow you to move in any direction; you provide the location and a normal and get a 3d world coordinate, and that’s without relying on world geometry.

You could then line-trace from the actor towards a line-plane intersection result of the mouse-to-world conversion. That’d give you freedom of movement based on the actor location, unlike the one I demoed above which is based on camera position.