NAME

Games::3D::Mass - a physical mass with simulation and forces applied

SYNOPSIS

use Games::3D::Mass;

my $mass = Games::3D::Mass->new( mass => 123 );
$mass->clear_force();
$mass->apply_force( $vector );
$mass->simulate();

EXPORTS

Exports nothing on default.

DESCRIPTION

This package provides a base class for massses in 3D space.

METHODS

It features all the methods of Games::3D::Point (namely: new(), _init(), x(), y(), z() and pos()) plus:

apply_force
clear_forces
force
speed
mass
simulate
update

AUTHORS

(c) 2003, Tels <http://bloodgate.com/>

SEE ALSO

Games::3D::Area as well as SDL:App::FPS, SDL::App and SDL.