Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Mountain Bike physics for my indie game on Steam with Video

Discussion in 'Physics' started by devotid, May 19, 2020.

  1. devotid

    devotid

    Joined:
    Nov 14, 2011
    Posts:
    445
    Finally got around to "installing" this mountain bike in my indie title on Steam EA. I used the IK system in Unity for the arms and legs and a few simple hinge mounts for the player to the bike.

    The suspension is all animation controlled by the wheel collider positions. It uses a simple "low center of gravity" method to keep it upright with a few cheater torques to make it more realistic. Seeing that the front wheels Z position is moving as it goes through its stroke.... I had to move the front wheel collider fore and aft as it goes in and out. Again.... nothing too fancy.

    Its built with Unity wheel colliders and Playmaker. Nothing too fancy. Just a way for users to get around the island and hit up all of the games and arcades.

    Let me know what you think. It will be released in a few more weeks when the new Survivor mode is out for the game.



    https://steamcommunity.com/games/598980/announcements/detail/4536759136016121203



    Kevin