Skip to content

Commit

Permalink
fixed rotation z
Browse files Browse the repository at this point in the history
  • Loading branch information
felicijus committed May 6, 2021
1 parent 890f323 commit 9259228
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Platformer/Assets/game/player/player_movement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

public class player_movement : MonoBehaviour
{
public Rigidbody2D rigidbody;
public Transform transform;
public new Rigidbody2D rigidbody;
public new Transform transform;
public float force;
// Start is called before the first frame update
void Start()
Expand Down
2 changes: 1 addition & 1 deletion Platformer/Assets/scenes/default.scene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ Rigidbody2D:
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 0
m_Constraints: 4
--- !u!58 &856285688
CircleCollider2D:
m_ObjectHideFlags: 0
Expand Down

0 comments on commit 9259228

Please sign in to comment.