Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Translation of user input (via mouse, keyboard, gamepad, touchpad or other hardware interface) into in-game actions
1
vote
3
answers
3k
views
Unity rigidbody2d.velocity jumping causes weird bouncing
Im working on a game 2d game that has some platforming. I followed this video as guidance and produced the following code:
public class PlayerControler : MonoBehaviour
public float maxWalkingSp …
0
votes
Unity rigidbody2d.velocity jumping causes weird bouncing
I found what was wrong, maybe it will help future visitors.
This line of code caused problems:
rigidbody2D.velocity = new Vector2 (rigidbody2D.velocity.x, verticalInput * jumpForce);
While this on …