Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Physics for ships  (Read 814 times)

0 Members and 1 Guest are viewing this topic.

Draken

  • member
  • Offline Offline
  • Posts: 1183
Physics for ships
« on: July 11, 2024, 09:35:17 PM »

I wonder if the ships in the game are designed according to real physics .

There is the center of gravity .
Does it have to be under the waterline ?
https://marinegyaan.com/what-is-center-of-gravity-of-a-ship/

But there is also the center of boyancy
https://seamanship.ie/centre-of-gravity-cof-g-and-centre-of-buoyancy-2/

And eventually , calculating the stabilty of a ship requires some maths
https://www.mermaid-consultants.com/ship-stability.html

Logged

WxTech

  • Modder
  • member
  • Online Online
  • Posts: 6181
Re: Physics for ships
« Reply #1 on: July 11, 2024, 11:13:27 PM »

Ships are handled by extremely simple algorithms, with no actual physical modeling.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

shardana

  • member
  • Offline Offline
  • Posts: 879
Re: Physics for ships
« Reply #2 on: July 13, 2024, 03:34:39 AM »

Carriers roll from left to right in heavy seas, wonder if there would be a way for ships to use those algorithms, modified, to pitch with the bow going up and down. Just a question by a noob of this things.
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3252
Re: Physics for ships
« Reply #3 on: July 13, 2024, 03:45:26 AM »

at the end of the day this is a plane sim and not silent hunter
Logged

WxTech

  • Modder
  • member
  • Online Online
  • Posts: 6181
Re: Physics for ships
« Reply #4 on: July 13, 2024, 04:19:38 AM »

Carriers roll from left to right in heavy seas, wonder if there would be a way for ships to use those algorithms, modified, to pitch with the bow going up and down. Just a question by a noob of this things.

I just looked at BigShipGeneric.class and ShipGeneric.class and noted that the methods setPosotion() in the former calculate the varying pitch and roll while the latter does not. Perhaps it's possible to replicate the methods, paying any due attention, if necessary, to net replication. I can't say it's actually feasible after this very cursory look, but at first blush I don't see why it shouldn't be.

This cyclical movement was of course added only because of the inclusion of carriers, from which platform such motion adds to realism. Perhaps it would be hardly worth the effort to extend this to non carriers, unless cameras were able to be 'attached' to those non-carrier vessels.

Incidentally, I note that oscillation scales linearly as the weather type; the worse the weather the larger the amplitude of the pitch and roll.

Added shortly after first submitting the part above...

An additional potential consideration when contemplating to have all ships exhibit pitch/roll oscillation is the impact on gunnery. Already this must factor into gunfire from carriers, and so it might possibly pose no issue when extended to other ships. In any event, a thorough examination of all involved classes and methods must be performed.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Jimbo947

  • member
  • Offline Offline
  • Posts: 108
Re: Physics for ships
« Reply #5 on: July 13, 2024, 05:28:33 AM »

Carrier Take-offs and landings would be a lot more interesting  ;)
Logged

WxTech

  • Modder
  • member
  • Online Online
  • Posts: 6181
Re: Physics for ships
« Reply #6 on: July 13, 2024, 06:22:44 AM »

Carriers already do exhibit pitch and roll oscillation...
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Type83Fighter

  • It needs a tailhook.
  • member
  • Offline Offline
  • Posts: 298
Re: Physics for ships
« Reply #7 on: July 13, 2024, 09:00:23 PM »

Having served on a big deck, I can say it isn't realistic. Even an LHD or a CV(N) pitches in rough seas, not just rolls.
Logged
"You seem to be disappointed in my efforts only because my efforts were disappointing"
Pages: [1]   Go Up
 

Page created in 0.064 seconds with 20 queries.