Displaying posts tagged with

“simple”

Static sphere collision experiment

file: AStaticCollisionSphere.as

package engine.collisionSystem
{
import math.CVec2D;

public interface AStaticCollisionSphere
{
function get position() : CVec2D;
function set position( position : CVec2D ) : void;
function get radius() : Number;
function get collisionDamping() : Number;
}
}

file: ACollsionSphere.as