"Animated" Corridor Connections?

General discussion about RailWorks, your thoughts, questions, news and views!

Moderator: Moderators

Locked
coldo121
Getting the hang of things now
Posts: 95
Joined: Sat Oct 13, 2007 1:37 am

"Animated" Corridor Connections?

Post by coldo121 »

Hi,

Not sure if this is the right section to post this, but i was wondering if anyone has tried making coaching/EMU/DMU stock with animated/moving corrider connections?

I know the 380s end gangways extend when 2 unit are coupled together, but i was curious to know if anyone has tried and/or had any success at getting the gangways to move when the train is on a bend or crossing a set of points?

Again, apologies if i've posted in the wrong place, and apologies for the vaugeness!
User avatar
AndiS
Very Active Forum Member
Posts: 6207
Joined: Fri Sep 23, 2005 4:43 pm
Location: Jester's cell in ivory tower
Contact:

Re: "Animated" Corridor Connections?

Post by AndiS »

Ben reported on a GetCurvature system call which I never tried.
http://forums.uktrainsim.com/viewtopic. ... 1#p1320941

Curvature = 1 / Radius

You can use it to control an animation which deforms your corridor.
Wagons (and coaches) can have Lua scripts now, but very few people have tried it.
User avatar
Reppo
Established Forum Member
Posts: 308
Joined: Sun Oct 14, 2007 5:38 pm
Location: Santiago de Chile

Re: "Animated" Corridor Connections?

Post by Reppo »

Hi!

I don't know if the same issue, but I solved it in the following way:

In my EMU I have created those structures and I have configurated them as a coupling, so when the train is in a curve this coupling turns regarding the curvature amount.

sorry for my english.

Regards.
Image
The man who doesn't follow his vocation betrays himself and condemns himself to unhappiness.
davveb
Established Forum Member
Posts: 406
Joined: Thu Oct 23, 2008 5:17 pm

Re: "Animated" Corridor Connections?

Post by davveb »

There are moving/rotating gangways on my class 317. It's just done as part of the couplings. Quite straightforward really. Looks a bit odd on very tight curves, but only for curves less than the real train's minimum curve radii.

ps
I see Reppo has posted simultaneously to say he's done the same thing. Great minds think alike :-)
User avatar
Reppo
Established Forum Member
Posts: 308
Joined: Sun Oct 14, 2007 5:38 pm
Location: Santiago de Chile

Re: "Animated" Corridor Connections?

Post by Reppo »

davveb wrote: ps
I see Reppo has posted simultaneously to say he's done the same thing. Great minds think alike :-)
8)
Image
The man who doesn't follow his vocation betrays himself and condemns himself to unhappiness.
Locked

Return to “[RW] General RW Discussion”