
PathMan.K3D

This is a sample KeyScript for 3DStudio R4.  The script allows for the 
manipulation of velocity along a path in 3-space.  Five sample functions 
are implemented and there is room for 3 more user-defined functions.

To use this funcition on a node, it must have a path associated with it.

This script runs slow on 386s.


Function 1 -- Smooth
	This evens out the velocity along a path similar to the smooth 
	button in the key dialog box.
	
Function 2 -- Exponential Deceleration
	This computes the deceleration to zero along the path.  The factor 
	is the power of n to base the velocity change on.  This produces 
	keys similar to PATHSCAL.K3D but for any node along any path.
	
Function 3 -- Exponential Acceleration
	This computes acceleration from zero along the path.  This is the 
	mathematic inverse of Function 2.
	
Function 4 -- Linear Deceleration
	This starts an object at an initial velocity and decelerates it n 
	unites per frame.

Function 5 -- Linear Acceleration
	This starts an object at an initial velocity and accelerates it n 
	unites per frame.
	
Functions 6-8 -- User-definable
	This is where the user can add their own computations.  A good 
	simple one would be 9m per second per second emulating gravity 
	with a cut-off at terminal velocity.


