Ignore:
Timestamp:
09/03/13 21:42:51 (8 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Rebase:
31313430333664626564376632373534613863653065383861646537363931643031373964323964
Message:

Fun with mass and friction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/enemies.py

    r207 r208  
    4343
    4444    def _setup_physics(self, space, position):
    45         self._body = make_body(5, pymunk.inf, position, 0.8)
     45        self._body = make_body(10, pymunk.inf, position, 0.8)
    4646
    4747        self._shape = pymunk.Circle(self._body, 30)
    4848
    4949        self._shape.elasticity = 1.0
    50         self._shape.friction = 10.0
     50        self._shape.friction = 0.05
    5151        self._shape.collision_type = COLLISION_TYPE_ENEMY
    5252        self._physicser = SingleShapePhysicser(space, self._shape)
Note: See TracChangeset for help on using the changeset viewer.