Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. def pre_solve_func(self, space, arbiter):
  2. if arbiter.is_first_contact:
  3. body = arbiter.shapes[1].body
  4. body.position = self.platpos
  5. body.velocity = self.platvel
  6. return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement