Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8253873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:01:24+00:00 2026-06-08T01:01:24+00:00

I have a simple animation in Cocos2d Chipmunk with the tasks: One round shaped

  • 0

I have a simple animation in Cocos2d Chipmunk with the tasks:

  • One round shaped sprite situated in the center of the screen, rigid body type. Center of gravity needs to be located in center of this sprite.
  • From different sides of screen (spontaneously and beyond screen size) other rigid round sprites must fall into central sprite to fill visible screen space.
  • Sprites should not overlap one another.

So the questions are:

  1. How to reassign the vector of gravity to the center of the screen?
  2. How to implement collision detection between rigid body types in Cocos2d Chipmunk?

Thanks, colleagues!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:01:27+00:00Added an answer on June 8, 2026 at 1:01 am
    1. You can’t set a center for the gravity. You can only set a direction (the same for all objects). It’s possible to create an effect you describe, but you’ll have to do the work yourself. In every frame you have to set a force or apply an impulse on every body in the direction of your gravity. And the “regular” chipmunk gravity should be (0, 0).

    2. See this tutorial about collision detection.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just created a simple animation. Lets say that in one frame I
I want to implement a simple animation based on UIView's center property. I have
I have this simple animation that moves an image from one point to another:
I have a simple animation the problem is I want the animation to end
I have a simple jquery animation on a div, which is inside a div,
i have a very simple animation in flash CS4. My image travels from point
I have a simple UIView animation block. In the block, I only change the
I have a simple jquery flipcard animation - http://jsfiddle.net/gGAW5/36/ Now the way this flip
I have a simple animation which simply modify the position of a button: [UIView
I have a simple animation based on jQuery fadeIn and fadeOut - it just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.