About 50 results
Open links in new tab
  1. unity - Move rigidbody using WASD keys but rotate it based on …

    Apr 23, 2019 · Then i want to move my rigidbody based on keyboard input (wasd) and rotate it using the mouse movement. Until now, i used the following code for moving my rigidbody:

  2. How to make a character move with WASD in unity [closed]

    May 26, 2020 · So, I have been trying for so long to make a WASD movement script, and I can't. It has come to the point that I am even getting the code off the official Unity site. And here is the …

  3. Unity - move with WASD in the way the camera is facing

    May 25, 2020 · The script is on the camera, and camera object is a child to the player object. Now I want to move the player object in the direction the camera is facing, how do I do this?

  4. unity - How to make the camera follow the mouse in first or third ...

    May 3, 2018 · The web is littered with beginner Unity tutorials including camera controls. I'd strongly recommend working through one or two of those, or inspecting the standard …

  5. Unity3D: Replicating SM64 turning movement into Unity

    Feb 26, 2019 · Brief Summary: I want to recreate Super Mario 64 turning movement into unity without the clunky movement I currently have. And I would also love how to implement the …

  6. How to use Input.GetAxis("Mouse X/Y") to rotate the camera?

    Jul 28, 2015 · Then with one script you manage the empty gameobject rotation relative to UP vector. (MouseX) With another script atached to the camera gameobject you manage rotation …

  7. unity - Unity3d Move player with UI buttons - Game Development …

    Sep 13, 2018 · Explore related questions unity movement rigidbody See similar questions with these tags.

  8. unity - How to implement Vector3.MoveTowards follow with …

    Apr 8, 2021 · There are lots of ways you could accomplish this, I'll just give you one to get started. Attach this script to a gameobject, and give it another gameobject as target to follow. …

  9. Unity 3d auto-move player forward script

    Nov 7, 2011 · Trying to write a basic script to attach to the player on Unity 3D, I want them to move forward automatically. I'm guessing that will be part of the Update function and using …

  10. unity - Random NPC Movement & Stopping Within A Specific …

    Feb 11, 2023 · So as an example, my game is 3D. So new Vector3(Random.Range(minX, maxX), 0, Random.Range(minZ, maxZ)) gives a vector3 with random points between the corners (the …