Skip to content

jtpalmer/Chipmunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    Chipmunk - 2D physics library

VERSION
    version 0.000001

SYNOPSIS
        use Chipmunk qw(:all);

DESCRIPTION
    Perl bindings for the Chipmunk Physics library.

METHODS
  enable_segment_to_segment_collisions
    Arguments: none
    Return value: not defined

    Chipmunk didn't support segment/segment collisions until v6.1.2. For
    compatibility reasons, you must explicitly and globally enable them.

        enable_segment_to_segment_collisions();

  reset_shape_id_counter
    Arguments: none
    Return value: not defined

    Chipmunk keeps a counter so that every new shape is given a unique hash
    value to be used in the spatial index. Because this affects the order in
    which the collisions are found and handled, you can reset the shape
    counter every time you populate a space with new shapes. If you don't,
    there might be (very) slight differences in the simulation.

        reset_shape_id_counter();

NOTICE
    The documentation is taken from Chipmunk2D
    <http://chipmunk-physics.net/release/ChipmunkLatest-Docs/>

    Copyright (c) 2007-2013 Scott Lembcke and Howling Moon Software

SEE ALSO
    Chipmunk2D Physics <http://chipmunk-physics.net/>, Alien::Chipmunk

AUTHOR
    Jeffrey T. Palmer <[email protected]>

COPYRIGHT AND LICENSE
    This software is Copyright (c) 2013 by Jeffrey T. Palmer.

    This is free software, licensed under:

      The MIT (X11) License

About

Perl bindings for the Chipmunk Physics library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published