Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement bikes #117

Open
in0finite opened this issue Oct 24, 2021 · 0 comments
Open

Implement bikes #117

in0finite opened this issue Oct 24, 2021 · 0 comments
Labels
feature New feature good first issue Good for newcomers importing Related to importing orginal game assets into Unity vehicles

Comments

@in0finite
Copy link
Owner

Bike is a special type of vehicle.

They need separate game logic:

  • they have 2 wheels
  • their entering/exiting/sitting animations are different
  • drive-by is different
  • steering left/right means leaning bike to a side
  • they can't go in reverse, but instead have to be "pushed" back

Implementation details:

  • add new class Bike which inherits Vehicle class
  • this class is added to Vehicle game object, only if it is a bike
  • override methods from Vehicle class to apply special behavior
@in0finite in0finite added good first issue Good for newcomers feature New feature vehicles importing Related to importing orginal game assets into Unity labels Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature good first issue Good for newcomers importing Related to importing orginal game assets into Unity vehicles
Projects
None yet
Development

No branches or pull requests

1 participant