-
How do I code a spline path?
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/C...plineTypes.JPG
Plus what code could I use to generate such a path.
-
Re: How do I code a spline path?
There is a lib called SGcore - there is a demo version available for download. It contains spline functions. Just keep in mind you need at least 3 points to define a spline using that lib.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules