How to make strong physics

0 favourites
  • 7 posts
From the Asset Store
Simple yet very life-like rag doll made with Physics!
  • Greetings ,comrads.

    I have game with this code(zero gravity):

    <img src="https://dl.dropboxusercontent.com/u/95062274/pics/rub2.png" border="0" />

    and this on scene (black lines shows physics connections):

    <img src="https://dl.dropboxusercontent.com/u/95062274/pics/rub3.png" border="0" />

    When this construction collides with borders, all construction start vibrating like this:

    <img src="https://dl.dropboxusercontent.com/u/95062274/pics/rubb.png" border="0" />

    How to make strong connections without this effect ?

  • Not to sure entirely what your trying to achieve but why Physics behaviour?! What about using custom movement and a Pin (Rope Style) method?!

  • Spaceship building, with destroyable parts. its requires physics

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I think the physics behavior works in such a way that you can't really have a perfectly strong connection between 2 or more objects. Even a pin joint (something unimplemented in C2) is slightly elastic.

    It just comes down to the way the engine works, I think.

  • I think the physics behavior works in such a way that you can't really have a perfectly strong connection between 2 or more objects. Even a pin joint (something unimplemented in C2) is slightly elastic.

    It just comes down to the way the engine works, I think.

    Its very sad if its true. Becasue my ships like this:

    <img src="http://screenshot.su/img/69/95/05/6995051c558b1f64d7edcc9357bc4ea1.jpg" border="0" />

    after been shot can becone thin:

    <img src="http://screenshot.su/img/e8/2b/48/e82b48d6cc1e5c2878fd2656348d5ce4.jpg" border="0" />

    and when its thin and i try to rotate, physics gone mad and starts to throw ship from place to place:

    <img src="http://screenshot.su/img/bc/60/03/bc60036570d897d91fb8a4e93b8fea72.jpg" border="0" />

    <img src="http://screenshot.su/img/d0/9f/8f/d09f8fd29ce1148d52b82cd5e9f783e6.jpg" border="0" />

  • You could use a tiled background for collision shapes across sections. It'd be a little more complex in terms of figuring out what goes where, but wouldn't bend.

    So if you had four blocks in a stack, build one tiled background object, link that with a joint and pin the smaller blocks to it.

  • Maybe you could turn off physics for those blocks when they're part of the ship (and use Pin to keep it in place), and turn physics on when it's time for it to be destroyed and float in space?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)