Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def pre_solve_func(self, space, arbiter):
- if arbiter.is_first_contact:
- body = arbiter.shapes[1].body
- body.position = self.platpos
- body.velocity = self.platvel
- return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement