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

    r207 r208  
    217217        self.shape = pymunk.Poly(
    218218            body, [(-20, -20), (20, -20), (20, 20), (-20, 20)])
     219        self.shape.friction = 0.5
    219220        self.shape.collision_type = COLLISION_TYPE_BOX
    220221        super(Box, self).__init__(
Note: See TracChangeset for help on using the changeset viewer.