Bike creation

Hi!

I just want to know if someone can help me creating a bike using the physics engine and joints.

The bike should have front and back suspensions and should also accelerate when the user clicks on the screen…
Just to have an idea, the bike should be something like this: http://www.codeproject.com/Articles/468121/Box2d-vehicles-part-3-bike

Is there someone that have an idea on how to do that?

Thank you in advance :wink: [import]uid: 127704 topic_id: 34943 reply_id: 334943[/import]

Hi @morenocolombo,
Have you studied the Corona physics engine and joints system/parameters? If not, I suggest you begin there and experiment. While somebody here could likely help you build the entire bike, you’ll need a rather comprehensive understanding of physics/joints to make it all work, moving on from that step. Even with the bike created, you’ll probably need to adjust several joint properties and physical aspects, otherwise when things “go wrong” (which they easily can, when dealing with joint-assembled bodies in Box2D), you won’t understand why, and that would be frustrating. :slight_smile:

Here are some resources to get you started:
http://developer.coronalabs.com/content/game-edition-physics-bodies
http://developer.coronalabs.com/content/game-edition-physics-joints

Best of luck!
Brent Sorrentino [import]uid: 200026 topic_id: 34943 reply_id: 138952[/import]

Hi @morenocolombo,
Have you studied the Corona physics engine and joints system/parameters? If not, I suggest you begin there and experiment. While somebody here could likely help you build the entire bike, you’ll need a rather comprehensive understanding of physics/joints to make it all work, moving on from that step. Even with the bike created, you’ll probably need to adjust several joint properties and physical aspects, otherwise when things “go wrong” (which they easily can, when dealing with joint-assembled bodies in Box2D), you won’t understand why, and that would be frustrating. :slight_smile:

Here are some resources to get you started:
http://developer.coronalabs.com/content/game-edition-physics-bodies
http://developer.coronalabs.com/content/game-edition-physics-joints

Best of luck!
Brent Sorrentino [import]uid: 200026 topic_id: 34943 reply_id: 138952[/import]