Force field plug-ins

A commonly used components in physics simulations and particle dynamics is a vector field. In computer graphics these functions are often referred to as force fields. The basic purpose of a force field is to provide a force vector for a given point in space, optionally knowing the velocity at that point.

Coden makes it easy to define force field plug-ins in a few lines of code. Consider the following example:

public static Vector3 ComputeForce( Vector3 position, Vector3 velocity )
	return Vector3.Zero;