[BEHAVIOR] Chipmunk Physics

3 favourites
From the Asset Store
Simple yet very life-like rag doll made with Physics!
  • R0J0hound

    Oh thanks for looking into it. I kinda just forked it from things I found from google searching. I have ~0 knowledge of JavaScript (if any) and to be honest C2 is the only thing I am familiar with.

    I indeed was switching between polygon and paster. I just left both in as an option. Polygon has a 'draw line' option which helped distinguish the cubes. Paster is in much lower resolution and as the performance was already slow I didn't attempt to see how it would look if I increased Paster's resolution.

    What I attempted to do was to only calculate the 3D view of one cube at the center, and then to just apply it to the rest of the cubes, maybe helping in performance. But I couldn't figure it out. As it is now it calculates the view for every cube.

    I think it would be great if everything could just be done in javascript for performance but that is way beyond my knowledge.

    I will define the function onStartOfLayout and see how it goes. Thanks

  • Pandy

    I got carried away with some ideas and I posted an example here:

    construct.net/en/forum/construct-2/your-construct-2-creations-23/more-rojo-tests-138761

    Came out pretty clean. The idea is you generate the cube image any way you want, then only once per frame load an animation frame.

  • Are there any way to draw the joints like in the Joints and Constraints video example?

  • You’d have to do it manually. Ideally there are expressions to get the position and such I’d the joints. Or if not you could save the values when you add the joints.

    Then you’d just position sprites or use a drawing plugin to place lines and stuff

  • You’d have to do it manually. Ideally there are expressions to get the position and such I’d the joints. Or if not you could save the values when you add the joints.

    Then you’d just position sprites or use a drawing plugin to place lines and stuff

    I'll try those out... Thanks a lot!

  • R0J0hound

    Hi

    is it possible?

    in Chipmunk Construct2?

    1 Ragdoll Player (he can walk on stairs)

    2 Walk Mecha (he can walk on stairs)

    3 Bike

    4 Car

    5 Tank

    Like in This Video.

    youtube.com/watch

  • nelostic

    The behavior lets you utilize joints and collision filtering. Those would be used as the building blocks to make the more complex examples you listed. I have no pointers at the moment but it's just the kind of thing you'd just figure out to do as you go.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound

    How make No Collision

    of Group (Familly) ?

    Like in Box 2d

    For make ragdoll doll.

  • Hi, one question please, is this behavior more advanced than the official one included in C2? Does this behavior allow us to do more things ?.

    Or can the same things be done with the two behaviors and are they just different?

  • nelostic

    There are two things:

    collision groups. When two instances are in the same group they won't collide. It's just a number.

    Collision layers. It's a series of 1's and 0's, one for each 32 layers. Two objects will only collide if they share a one in the same position.

    the Mnk

    It adds collision filtering, and a lot more joints as well as other improvements, as well as various differences.

  • hank You!

    Group 0 Don't Work!

    Group 1 is Work!

    This is Amazing!

    pensive-bose-5555d4.netlify.com

    epic-goldberg-bcaf43.netlify.com

  • have construct 3 vrrsion ?

  • inkfalcon

    Nope.

  • Hi,

    Can someone tell me how to use hexadecimal with layers to get all 32? I only know they are A to F, but don't know how to use them. Thanks

    R0J0hound

  • This is an awesome plug in. Thanks.

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