Jump to content

Orbiting Camera Strange Collision Detection


pschlik

Recommended Posts

Something that's been bugging me for a while is the awkward way in which the orbiting camera collides with surrounding objects. As far as I can tell, the camera seems to calculate collision in a line that extends from the center of the locomotive to the actual camera location. If it decides anything along this line should have collision, then the camera suddenly zooms in to "avoid" colliding with that object...even if the camera itself was actually zoomed out far enough to not directly collide with said object. This is most obvious on freight trains, where the camera 'line' processes collisions with the freight wagons, resulting in this happening at many camera angles:

1841870_20221228214551_1.thumb.png.eb93333d0384e4627d52799a41005bcb.png

If it's not clear what's going on there, the camera has zoomed in very very close to the locomotive to avoid colliding with the freight wagons. Previously I was zoomed out the maximum distance and just panning the camera around. This happens all the time and is both jarring and obnoxious. Similar things happen for some (but not all) scenery objects, resulting in the camera jumping around when (for example) light poles pass between the train and the camera. The camera will be at the intended zoom level, then when the light pole crosses between the camera and the locomotive, the camera suddenly moves in front of the light pole, then suddenly returns to the previous zoom level once the light pole has passed. (The 'jumping' effect is so fast I worry this could trigger epilepsy in sensitive people).

To make the orbiting camera more enjoyable to use, I think it would help to change collision detection to only work at the camera location (as opposed to checking collision anywhere in between the locomotive and the camera) or to just turn off the camera collision on everything except the ground. I understand the desire to have collision detection on the camera, but what we have now is over zealous.

Link to comment
Share on other sites

have you ever played the game tsw?  the orbiting camera in that is horrible, it will get stuck against pillars and station furniture, people walking along the platform bump into it and move it,

 

I personally like the way this camera moves in SimRail,  i like moving it behind the loco so it moves between the first coach and the rear of the loco, and then i can even move it so i can see the wheels... complete with the brake discs etc spinning as i'm driving along.

  • Like 1
Link to comment
Share on other sites

I never use the orbiting camera in TSW (for largely the same reasons as my OP), I much prefer the flying camera (camera 3 in TSW) to any style of 'orbiting' camera. The 'drone' has collision that makes sense, gives more freedom for movement, and makes it generally easier to get the camera where you want it to be.

Now I've never been able to get the orbiting camera to stick to anything other than the locomotive-is there actually a way to change what it's attached to?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Our servers

    • Drivers | Maszyniści Drivers | Maszyniści
      • PL1
      • pl1
      • 7 / 77
          • Percentage filling 9%
          • Most players 61
      • PL2
      • pl2
      • 48 / 75
          • Percentage filling 64%
          • Most players 85
      • PL3
      • pl3
      • 7 / 77
          • Percentage filling 9%
          • Most players 57
      • PL4
      • pl4
      • 12 / 78
          • Percentage filling 15%
          • Most players 63
      • PL8
      • pl8
      • 2 / 67
          • Percentage filling 3%
          • Most players 45
      • EN1
      • en1
      • 21 / 76
          • Percentage filling 28%
          • Most players 60
      • EN2
      • en2
      • 2 / 69
          • Percentage filling 3%
          • Most players 60
      • EN3
      • en3
      • 1 / 71
          • Percentage filling 1%
          • Most players 60
      • DE1
      • de1
      • 35 / 71
          • Percentage filling 49%
          • Most players 81
      • DE3
      • de3
      • 1 / 72
          • Percentage filling 1%
          • Most players 66
      • DE4
      • de4
      • 0 / 72
          • Percentage filling 0%
          • Most players 60
      • FR1
      • fr1
      • 11 / 72
          • Percentage filling 15%
          • Most players 49
      • UA1
      • ua1
      • 3 / 72
          • Percentage filling 4%
          • Most players 19
      • CN1
      • cn1
      • 0 / 67
          • Percentage filling 0%
          • Most players 28
      • CZ1
      • cz1
      • 5 / 73
          • Percentage filling 7%
          • Most players 50
      • ES1
      • es1
      • 5 / 73
          • Percentage filling 7%
          • Most players 18
      • IT1
      • it1
      • 0 / 47
          • Percentage filling 0%
          • Most players 61
    • Dispatchers | Dyżurni ruchu Dispatchers | Dyżurni ruchu
      • PL1
      • pl1
      • 3 / 24
          • Percentage filling 13%
          • Most players 21
      • PL2
      • pl2
      • 17 / 24
          • Percentage filling 71%
          • Most players 25
      • PL3
      • pl3
      • 3 / 24
          • Percentage filling 13%
          • Most players 21
      • PL4
      • pl4
      • 9 / 24
          • Percentage filling 38%
          • Most players 24
      • PL8
      • pl8
      • 4 / 24
          • Percentage filling 17%
          • Most players 17
      • EN1
      • en1
      • 19 / 24
          • Percentage filling 79%
          • Most players 24
      • EN2
      • en2
      • 3 / 24
          • Percentage filling 13%
          • Most players 21
      • EN3
      • en3
      • 2 / 24
          • Percentage filling 8%
          • Most players 12
      • DE1
      • de1
      • 22 / 24
          • Percentage filling 92%
          • Most players 24
      • DE3
      • de3
      • 4 / 24
          • Percentage filling 17%
          • Most players 24
      • DE4
      • de4
      • 4 / 24
          • Percentage filling 17%
          • Most players 20
      • UA1
      • ua1
      • 2 / 24
          • Percentage filling 8%
          • Most players 13
      • FR1
      • fr1
      • 6 / 24
          • Percentage filling 25%
          • Most players 18
      • ES1
      • es1
      • 6 / 24
          • Percentage filling 25%
          • Most players 13
      • CZ1
      • cz1
      • 2 / 24
          • Percentage filling 8%
          • Most players 22
      • CN1
      • cn1
      • 2 / 24
          • Percentage filling 8%
          • Most players 14
      • IT1
      • it1
      • 2 / 24
          • Percentage filling 8%
          • Most players 14
    • 34 Total servers
    • 270 / 1617 Total players
    • 17% Filled servers
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy