Elvas Tower: CentreOfGravity - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CentreOfGravity Rate Topic: -----

#1 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,002
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 31 July 2023 - 12:43 AM

The Z component of the CentreOfGravity parameter in .eng and .wag files is used by OR to position the trainsets on the track. First question: why is it used, instead of the parameters in the .sd file? Accordingly to the MSTS official documentation, the CentreOfGravity is what its name suggests, that is the center of gravity of the trainset, which not necessarily coincides with the center of the wagon.
Second question: in the OR code there is a check: if such Z component is higher than 1 or lower than -1 in the .eng or .wag file, it is reset to 0. Why?
I raise these questions because someone showed to me some trainsets that couldn't be properly aligned, because they needed a Z component outside the -1 to 1 range. Once I increased the allowed range in a test ORNYMG version, the trainsets could be properly aligned.

I'm not an expert in this field, so maybe I'm overlooking something.

#2 User is offline   pwillard 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 807
  • Joined: 03-March 08
  • Gender:Male
  • Location:Cumming, Ga
  • Simulator:OpenRails
  • Country:

Posted 31 July 2023 - 03:14 AM

Particularly in ORTS, I don't recall CentreOfGravity being particularly critical for model *placement* as the MODEL coordinates inside the S file would define the height above the track. I was pretty sure this value was NOT related to model placement and was more about friction and derail calculations until you posted this. Maybe I'm wrong?

#3 User is offline   ATW 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 639
  • Joined: 07-January 13
  • Gender:Male
  • Simulator:MSTS Open Rails
  • Country:

Posted 31 July 2023 - 04:42 AM

I notice COG does a difference in visual on Z as in length alignment, it does a difference for curve speeds but no visual differences for Y that the higher the height the more vulnerable to derail in the curve speeds but not for stringline yet and last but not least X does nothing really or the thing I expected it to do someday.

You would think X can be used as a visual purpose and curve negotiation speed for poor stock representing shifted loads leaning depending where Y and Z judge the center.

#4 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,002
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 31 July 2023 - 08:25 AM

I am talking here only about the Z component and, yes, it affects the longitudinal displacement of the trainset.

#5 User is offline   slipperman 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 760
  • Joined: 09-February 12
  • Gender:Male
  • Location:North Nottinghamshire
  • Simulator:MSTS & ORTS
  • Country:

Posted 31 July 2023 - 08:58 AM

Hi,
This is from : https://msts.steam4m...als/length.html

Quote

you still may occasionally notice that wagons are not equally spaced when one wagon is flipped relative to its neighbour. The couplers may be further apart or more bunched up than when all the wagons are "facing forward" or unflipped. This occurs when the model is not centred on the Z-axis and thus the couplings are not equally spaced when the car is flipped.


In MSTS, I understood this to be one of the most important uses for the Z value of CentreOfGravity. I do not know if it's required to the same extent in Open Rails.

Cheers,
Ged

#6 User is offline   pwillard 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 807
  • Joined: 03-March 08
  • Gender:Male
  • Location:Cumming, Ga
  • Simulator:OpenRails
  • Country:

Posted 31 July 2023 - 09:09 AM

This whole thing points to dealing with a faulty model, no?

#7 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 948
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 31 July 2023 - 12:11 PM

View Postpwillard, on 31 July 2023 - 09:09 AM, said:

This whole thing points to dealing with a faulty model, no?


HELLO.

If it was just a faulty model, that would be fine. But unfortunately there are more of them. MSTS had a Center ( X Y Z ) entry in the Wagon section. I think it moved the physical Pivot point of the model virtually.
American base models didn't need it.
Perhaps it should be introduced, even under the name ORTSCentre. No length limit.
But ESD_Bounding_Box would also be nice. The lack of this is evident elsewhere.

Sincerely, Laci 1959

#8 User is offline   ErickC 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,003
  • Joined: 18-July 17
  • Gender:Male
  • Location:Hastings, MN, US
  • Simulator:ORTS
  • Country:

Posted 02 August 2023 - 10:35 AM

I agree - it would be one thing if it were one or two models here and there, but the vast majority of models built before around 2010 or 2012 sit on the rails wrong. It seems kind of silly to retire almost the entire SLI fleet for being buried in, or floating above, the rails, when the models otherwise look just fine.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users