PDA

View Full Version : Animating switch points


inflammable
12-04-2006, 02:58 PM
After deciding to learn more about the Global\Tsection and track sections, I decided to build some of my own pieces.

The curve and couple straights work out. I combined them, and built a switch. It functions correctly, but it doesn't animate correctly. It'll animate to about half way. I can still drive over it, it just doesn't look right.

Using Gmax, I have the parent object labled 350ftRSwitchLeft, and the subobject labled movable points. I put in the 9 frames of animation, 0-8, with 0 and 8 being the through path, with the others moving in 0.25 degree increments to 1 degree and back. It looks good in Gmax and Sview.

In the Tsection, I defined the trackshape using the already built curve as the diverging, left hand route, and the already built straight as the through route. I inserted the ManualJunctionShape ( ) parameter.

I pretty much cut and pasted as much as possible. I did not, however, add in the second IDX parameter, that the default shapes used. They had one, a short 1.5 and change section that apparently covered the switch points, and then the curved section. I don't think that this would cause my problem, but I'll look into as time appears.

So is there something else I can look at to get the points to animate correctly? Do I need more, or fewer animation frames?

Looking forward to some insight.

James

***
I read the Sniper-Swissie post, about the JNodePosn, and that doesn't seem to be the problem.

James

Steven
12-04-2006, 03:13 PM
James

In terms of switch animation, there are only 3 frames of animation. The first and last frames are the same and should be in the "normal" position. The second frame will be the switch in the "thrown" position.

The sim handles the animation of moving the points from one position to the other.

inflammable
12-04-2006, 07:43 PM
Alright. Just what I was wanting to know. Thank you

James