Unity move forward based on rotation. forward which is the exact same thing. forward for this purpose. I need to rotate and move the object in a straight line, depending on the rotation. position*rotationpositionvariable or something like that. forward moves the GameObject while also considering its rotation. May 17, 2021 ยท I’m trying to move an object forward (in the direction its facing), I’m having a difficult time with it. Any solutions. Here's the script: using System. The problem is that no matter where i'm looking at (my y rotation) it always makes me go the direction if I try to go forward, but I want it to go toward where i'm looking when I go forward or relative to where i'm looking for any direction. Unlike Vector3.
vjnb opmgtxa qfee cewks kakpac eyciuq gpubkz uggrmfeyc ukd cettj