About 1,120,000 results
Open links in new tab
  1. c# - Unity 2d jumping script - Stack Overflow

    Jun 12, 2015 · Usually for jumping people use Rigidbody2D.AddForce with Forcemode.Impulse. It may seem like your object is pushed once in Y axis and it will fall down automatically due to …

  2. unity game engine - C# 2D platformer movement code - Stack Overflow

    Oct 2, 2015 · There are a couple of ways to achieve this but following your current implementation: why not set the isGrounded flag to false when you jump and just let the trigger …

  3. GitHub - rahemk/PlayerMovement: A player movement script for a 2D

    Attach the PlayerMovement script to your player character object. Adjust the movement speed, acceleration, jump height, and gravity parameters as per your game's requirements. Ensure …

  4. A simple 2d player jump script for Unity 2D · GitHub

    A simple 2d player jump script for Unity 2D. GitHub Gist: instantly share code, notes, and snippets.

  5. unity-2d-platform-movement/Assets/Scripts/PlayerController.cs ... - GitHub

    * description: This is an unity script for handling a player controller 2D platform * Features included: move, dash, jump, wall slide, wall jump * Repository: …

  6. FREE Simple 2D Platformer Script! - Unity Discussions

    Mar 14, 2014 · This here is a simple platformer script for a 2D game I made. Thought i’d share it around since some people are having trouble making some! Attach this to any object …

  7. ItsSanad/2D-Platformer-Player-Movement-Script-in-Unity

    This Unity script provides a well-rounded movement system for a 2D platformer. It integrates walking, running, jumping, dashing, and wall mechanics such as sliding and jumping to offer …

  8. Movement Script in C# for Unity · GitHub

    Dec 17, 2015 · Alright, if anyone is still here, apply a rigidbody and collider to whatever object your player is, apply a script called "PlayerMovement", and copy this code: using …

  9. Creating Simple 2D Player Movement and Jumping in Unity

    In this tutorial, we’ll walk through the process of setting up basic 2D player movement and jumping mechanics in Unity using a C# script. By the end of this tutorial, you’ll have a player character …

  10. c# - How to get smooth 2D jumping in Unity? - Stack Overflow

    Apr 23, 2019 · I'm using tilemap and Unity 2019.1.0f2. I've already tried: rb.AddForce (Vector2.up * jumpForce), rb.velocity = Vector2.up * jumpForce, rb.MovePosition (new Vector2 …

Refresh