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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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