SmallJoker / boost_cart

The original version of minetest_game's carts (since 2018).
15 stars 14 forks source link

Curves of less than a right angle. #16

Open Golutazem opened 7 years ago

Golutazem commented 7 years ago

Desire rails which curve at less than a right angle (90°) -- such as in Advanced Trains .

SmallJoker commented 7 years ago

For reference: http://irc.minetest.net/minetest/2017-05-26#i_4942297

benrob0329 commented 5 years ago

Perhaps a tweak in how the rails are drawn if places in a diagonal configuration (or simply how the cart rides on them) would be better than actual 45° track like Advtrains (they are rather hard to connect iirc)

numberZero commented 5 years ago

Sounds like OpenTTD... OpenTTD

SmallJoker commented 5 years ago

Actually I took the idea from OpenTTD to implement a barebone version of diagonal rails: (1 year old screenshot)

Diagonal

It looks bad and I cannot finish it due to lack of rendering knowledge (rotate straight rail, resize and chop)

numberZero commented 5 years ago

I see no way integrating such rails into the current system. The ugliness is not accidental: they are narrower by factor of 1.4 apx. (square root of 2, actually), they can’t be made any wider (there is no space for that), they can’t join normal rails smoothly (that would require sophisticated algorithm and tons of textures), etc etc. So either MT way, or OpenTTD way, or some other way, but not a mix.