blessman11
02-27-2012, 03:01 AM
Hi
I'm trying to create a spline path as seen in the link below but trying to find the fomular to use has been the most difficult aspect since I don't know how to interpolate the points. The spline will be used to create a path for a game I'm making were I need objects to follow such a path (is sonething a bit similar to zuma deluxe: http://www.terragame.com/screens/zuma_deluxe.jpg ).
http://www.cs.berkeley.edu/~sequin/CS184/IMGS/SplineTypes.JPG
Plus what code could I use to generate such a path.
I'm trying to create a spline path as seen in the link below but trying to find the fomular to use has been the most difficult aspect since I don't know how to interpolate the points. The spline will be used to create a path for a game I'm making were I need objects to follow such a path (is sonething a bit similar to zuma deluxe: http://www.terragame.com/screens/zuma_deluxe.jpg ).
http://www.cs.berkeley.edu/~sequin/CS184/IMGS/SplineTypes.JPG
Plus what code could I use to generate such a path.