Page 1 of 1

Barrel Roll?

Posted: Wed Feb 04, 2004 12:54 am
by matt_moh
I have a plane in my map and I want it to do a Barrel Roll, but it only rolls about 45 degrees before rolloing the same distance in the opposite direction. I have a series of linked splinepaths, the first one with angles of 0,0,-45, the next one at 0,0,-90, and then the next one at 0,0,-180 and so forth until the paths make a full 360 degree roll. I am using a followpath command instead of bomber.scr. Is there anyway to make the plane complete the roll?

Try this

Posted: Wed Feb 04, 2004 1:44 am
by tltrude
Try making them all "0 0 -45" untill it gets past being upside down.

Posted: Thu Feb 05, 2004 3:36 am
by matt_moh
It still doesn't work. I don't know what is preventing it from rolling all the way over. Any other ideas?

lookahead

Posted: Thu Feb 05, 2004 8:03 am
by tltrude
The only other thing I can think of is that the plane uses "lookahead" to see which way it is going to move and make it smooth. So, you may need to move the nodes farther apart to get it to work.

self flypath level.bomberpath[local.i] 1500 2000 256

flypath( Entity array, Float speed, Float acceleration, Float look_ahead )

What would happen if you just had one node with (0 0 -180 )? Oh by the way, you have to leave a space between a negitive number and the bracket or it wont work--glitch in the code.

Posted: Thu Feb 12, 2004 4:23 pm
by small_sumo
Hey pm me if you guys get that to work, I never could, many test maps made in vane..........

:idea:

Posted: Thu Feb 12, 2004 11:02 pm
by Gen Cobra
small_sumo wrote:Hey pm me if you guys get that to work, I never could, many test maps made in vane..........

:idea:
Talk to me on msn Ill tell yoiu how to do it. It's pretty stupid. Ill try and put some imgs up of it so you guys can see. Its all in the splinepaths.

Posted: Mon Feb 16, 2004 5:55 am
by small_sumo
Oh cool thanks.