-->

Move

If you prefer a more technical reference, visit the NextText Javadoc.

Name

Move

Description

This is the basic Move; actions from the physics package will have no effect unless this behaviour is applied to objects. It implements basic mechanics, updating position and velocity, rotation, and angular velocity, based on force, angular force (torque), and mass. On each frame the force and angular force are reset to zero. In addition, each Move has its own drag coefficient, which is applied to every object's velocity on each frame. Physics actions will typically add to the force on an object on each frame.

Usage

Run applet | Download

TEST

Constructor

new Move()

new Move(float drag, float angularDrag)

Parameters

drag :

angularDrag :

Methods

behave(TextObject to)

Related

TEST

2006 - 2008 © Obx Labs/Jason Lewis

CC-GNU GPL
This software is licensed under the CC-GNU GPL.