My flying shopping cart is completed and flaps its wings. My next
challenge is to put the cart on a spline and have it fly round a
predefined path.
I've no idea how to do that!
Firstly I need to define the path. That doesn't seem too hard as it's
all just beziers.
Secondly, I need to somehow calculate the position on that spline at
which the cart will sit in each frame. No idea on that one.
Thirdly I need to get the vector of the spline at that point so that I
can point the cart in the right direction. No idea here either.
Fourthly I need to get the (stationary) camera to follow the cart as it
travels around the spline. Figure I'll sit the camera at some point and
point_at the position in the 'secondly' section.
Can anyone talk me through this, or better yet, point me to a simple
tutorial on how to do it?
Cheers!
Rick
Post a reply to this message
|