Swinging !

View previous topic View next topic Go down

Swinging !

Post by graymac on Mon Oct 17, 2011 12:42 pm

Plenty of animated doors are appearing. They all seem to be the sliding type. So, here's a possible first, a set of opening doors for the old Mk2 stock, which swing open on their hinges instead.
That'll give Derryck something else to catch up with Very Happy Very Happy
Attachments
UYD2.JPG You don't have permission to download attachments.(65 Kb) Downloaded 10 times
avatar
graymac

Posts : 1748
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Swinging !

Post by Dexter on Mon Oct 17, 2011 2:23 pm

I know how to do that, Gray... have you noticed the rotating footstep on my 814DMU? Similar principle, different axis. Razz Smile Smile Of course, your condition for opening the door might differ from mine, but still, I think I could do that. Cool Anyway, was it you to whom I promised to explain the crossing event?
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 32
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: Swinging !

Post by graymac on Mon Oct 17, 2011 3:03 pm

That's right, Derryck. I had made my crossing with an expression that caused the closing distance to equal the opening distance, which is not correct in practise. Because I have no training in programming in C#, or much knowledge of boolean expressions I was unable to write an expression to allow true for " both car 0 is < distance before and car -1 is < distance after" which the program would accept. I suspect faulty syntax was the main culprit. Anyway, I would be interested to see what expression you formulated.

I believe if there was enough examples of commonly used functions to look at it would be relatively easy to apply them to a wide range of useful animations to improve the realism of the routes.
avatar
graymac

Posts : 1748
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Swinging !

Post by Dexter on Mon Oct 17, 2011 3:33 pm

OK, sorry for the delay, I am pretty much busy these days. Mad I wll try to write it here this evening, but note the word TRY,please...
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 32
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: Swinging !

Post by mrknowitall on Mon Oct 17, 2011 4:49 pm

brilliant! i figured this out a while ago mate! but never put it on the HSt's doors. but i stumbled across the door coding for the 142's by accident Wink but i thought id leave the coding to myself for a while Wink haha

brilliant as always mate
avatar
mrknowitall

Posts : 711
Join date : 2011-07-09
Age : 25

http://www.bve-terminus.org/pioneertrains/

Back to top Go down

Re: Swinging !

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum