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/protagonist.py

    r207 r208  
    4343            self.WOLF_FORM: pymunk.Circle(self._body, 30),
    4444        }
     45        self._shapes[self.HUMAN_FORM].friction = 1.0
     46        self._shapes[self.WOLF_FORM].friction = 0.05
    4547        self._physicsers = {}
    4648        for form, shape in self._shapes.iteritems():
    4749            shape.elasticity = 1.0
    48             shape.friction = 10.0
    4950            shape.collision_type = COLLISION_TYPE_PLAYER
    5051            self._physicsers[form] = SingleShapePhysicser(space, shape)
Note: See TracChangeset for help on using the changeset viewer.