[BEHAVIOR] Chipmunk Physics

From the Asset Store
Simple yet very life-like rag doll made with Physics!
  • It uses 6.2 or something. It's noted in the first post. That's the latest version that is ported to js.

  • Another question, does this work with cocoon.io canvas+ well? I figured out that canvas+ and box2d.ajsm is very laggy. How much faster is the Chipmunk Behavior vs the box2d.ajsm?

  • No idea really. I only use the HTML export.

    Neither have I measured performance, although some say it's faster.

  • I will test it later for you. I will give you my impressions to this. Are you planning to update to v.7.0. in future? If yes why you dont publish it as an Plugin in Scirra Store? I would pay for this

  • How to apply impulse at Touch.X and Touch.Y like before? i only have "x or angle" and "y or distance". Any idea how to implement like Touch.Position ?

  • I don't really have any plans to update. I'd need to port 7.0 to JavaScript myself. Also I'm not interested in the store.

    You mean apply force toward a point?

    For the force select "polar" and angle(self.x,self.y,touch.x,touch.y) as the angle and any value for the magnitude.

  • thank you that helped! how to implement hinged object for example a rope? i cant get it to work

  • A rope would just be multiple objects connected by maybe pivot joints. Make them all the same collision group or alternate collision layers so they don't collide with each other

  • Thanks! Thats working. I saw at the chipmunk website an video about another type of rope. Two dots was connected with an "rope" and everytime the rope startet warping/stretching/move like an real rope when the dots startet moving. It wasnt connected with multiple parts. Is this possible in Construct 2? If yes can you be so nice and make an capx for us? I would preciate it very much!!

    Here is the link to the Video

    https://youtu.be/ZgJJZTS0aMM

  • That video is a demonstration of all the joint types, they aren't rope. I think the was an example capx in the first post using a few joints. Any of the other joints should be as easy to use. If any don't make sense you can reference the chipmunk manual for a better description.

    I don't think I'll really be getting around to making any other capx.

  • help me please.

    Why Object with different masses

    fall with equal speed?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • But. in Box 2d :

    Object with different masses Fall with different speed.

    How make this in chipmunk 2d?

    I need planet earth

    i need not vacuum.

    i want to , object fall with different speed.

    big mass is fast speed fall

    small mass is slow speed fall

  • Box2d doesn't do that.

    If you want to apply air friction to an object then apply a force in the opposite direction of motion.

    Or you could play around with the linear damping property.

  • Very very Thanks You!

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