Skip to content

Instantly share code, notes, and snippets.

@xSystemIOx
Created May 9, 2018 14:34
Show Gist options
  • Select an option

  • Save xSystemIOx/cc66bbdaa26263a768eeb125ce2bf8ec to your computer and use it in GitHub Desktop.

Select an option

Save xSystemIOx/cc66bbdaa26263a768eeb125ce2bf8ec to your computer and use it in GitHub Desktop.
Lunges the player to simulate jumping from
player.transform.position = new Vector3 (LaunchPoint.position.x, LaunchPoint.position.y, 10);
Player.velocity = new Vector2 (Player.velocity.y, jumpForce);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment