simplified GravityActor

removed self.py and self.px