MovingBlocks

Rails multiple rotation axises

At the moment carts rotate on a single axis at their centre. Carts also don't have wheels and just float above the track segment. The goal of this task is add two axis for the cart to rotate on. One at the start of the cart and one at the end simulating a real train car. This should allow carts to move more naturally as they travel down a rail line, especially at corners and slopes.

Please note that this task is extremely hard. Attempt multiple other rails tasks first

Definition of 'Done'

  • Pull Request submitted to the Rails module that implements this feature.
  • A screenshot that shows the correct behaviour for the base cart of the game

Where to start

This task involves implementing two axis for each cart along with an offset of where the axle is from the origin. An entity can be bound to each axis. The CartMotionSystem should line up the two points on the rail segment and also account for when an axis is not able to be bound to a segment.

Task tags

  • content
  • java
  • design
  • rails
  • creative

Students who completed this task

Max Borsch

Task type

  • code Code
close

2017