0
Hello I am configuring the script of "Playermovement" of the project Nightmare of UTD 2014, well, arriving at this part (shown in the photo) I went to configure the script for the player to follow the mouse, however Transform did not find the "position", I followed the tutorial correctly in all the steps, but at this stage of "Playertomouse" could not put "Transform.position",I use Microsoft Visual Studio (updated) Obs: not to mention that the error times when subtracting by floorhit, saying that the "-" is not a valid character.
As I said, now I made an error when applying the ''-'' because I can’t apply it to the ''float', and in the raycasthit, to half-lost ;-; http://imgur.com/WEcvkoN
– Wesley Kennedy
Try to turn your raycasthit into a float if I’m not mistaken you can do so ' float x = floorHit(float)';
– Gabriel Augusto