Jump to content

Looking for Example of Load Carrying - Help Appreciated!


Punchausen
 Share

Recommended Posts

Hi folks,

I'm hoping someone can help me - I'm wanting to implement a game where you control a space rocket pulling a heavy object - so basically in addition to the thrust and inertia of the  rocket, you have the payload being pulled which will also affect it (swinging past and pulling the space rocket if it stopped, for instance).

I've been trying to find any example of these physics in play, but the closest I can find is http://phaser.io/examples/v2/p2-physics/mouse-spring#gv

Any help of pointing me in the right direction is very appreciated!

Link to comment
Share on other sites

You can try to combine the example with this rocket model:

It includes pretty much all that is needed for rocket physics (gravity, drag, wind, propulsion, but excludes control). If you can manage to attach the object/spring to the rocket, P2 should be able to solve the rest.

If you in some way are not in need of P2 physics, here is the arcade physics version:



 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...