Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. if (paddle.transform.rotation.z > 0 & Input.GetKeyDown(KeyCode.Space)){
  2. print ("This should jump Left");
  3. this.rigidbody2D.velocity = new Vector2 (this.transform.rotation.z + 13,10f);
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement