Results 1 to 3 of 3

Thread: BVE: Pitch Coding and Calculation Question...

  1. #1
    Join Date
    Jan 2020
    Location
    Sutton, South London
    Posts
    2

    Default 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,

  2. #2
    Join Date
    Apr 2007
    Location
    Swindon, England
    Posts
    6,519

    Default

    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.

  3. #3
    Join Date
    Jan 2020
    Location
    Sutton, South London
    Posts
    2

    Default

    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •