Terasology / Rails

Base rail module for minecarts and such
10 stars 17 forks source link

support different friction coefficients for rail segements #20

Closed pollend closed 6 years ago

pollend commented 6 years ago

At the moment there is a java file in rails called Constants with a value called FRICTION_COFF. It should be possible to define other rail segments with different amounts of friction.

Add a friction coefficient value to RailComponent. This also involves tweaking the CartMotionSystem and using the friction coefficient of the current rail segment that the cart is currently on rather then using a fixed coefficient for all segments.

eviltak commented 6 years ago

I would suggest that this issue be closed, since it is resolved in #27.