Download

Controlling Actors position with mouse movement

So basic idea of the project is object (ball) repeating mouse movements from first person perspective. Im very new to programming and managed to make this so far (Im using FirstPerson BP) :

URFpo7N.png

which doesnt do anything. Any ideas why? Its probably very simple :slight_smile:

It moves the Sphere component of your ball (collision sphere?)
Drag from Ball Reference and use SetActorLocation and it should work.

you mean like this?

c9abbd648cec6f9b2edbdc637fdb5518beb3a46f.png

does not work either

Few thoughts:

  1. Eject during play and locate ball in scene. (always useful for troubleshooting) Ball is probably located at camera position.

  2. Need to take location and project in direction from node (there are 2 pins). Use this to either raycast against ground plane , or onto a ground object.