Announcement

Collapse
No announcement yet.

BVE: Pitch Coding and Calculation Question...

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BVE: Pitch Coding and Calculation Question...

    Hi Guys,

    It's been years since I've logged on to this forum - hence I couldn't remember my old login details!

    I've started to get back into coding my Tramlink route (I know it feels like this one's never going to get finished), and as it's been so long since I was coding, there's a few things I've forgotten.

    What I'd like to know is: how do I calculate the change in height when I use the .pitch command.

    For example, if I have a section of track travelling the 25m at .pitch 26.4 - how much will the track have gone up in height over those 25m, and what's the formula for working this out?

    I do remember seeing a guide somewhere back in the day that explained this, although, I can't find anything on it now!

    Appreciate the help in advance guys!

    Thanks,
    Currently developing London Tramlink Route 3 (New Addington to Wimbledon).sigpic

    #2
    I'm not sure there's that many people about from the old BVE days who remember the finer points of coding a route. Sadly I never got that far into it myself so can't really help I'm afraid.
    Vern.

    Comment


      #3
      Thanks Vern.

      I think I've cracked it. Found an equation somewhere that listed:

      Pitch = 1000 * change in height / distance

      So, with some linear equation moving around, I worked out what I needed to as:

      Heigh = Pitch / 1000 * distance

      Thanks for the response though. It's sad to hear there's less people about. I remember this forum used to be very busy with BVE players and developers, all of whom were very friendly and helpful. I assume people have moved on to other simulators, which I am considering myself.
      Currently developing London Tramlink Route 3 (New Addington to Wimbledon).sigpic

      Comment

      Working...
      X