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 6946461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:34:06+00:00 2026-05-27T13:34:06+00:00

I have an Egg (dynamic circle body) and some moving Wall s (static body,

  • 0

I have an Egg (dynamic circle body) and some moving Walls (static body, but move horizontally by changing x property by my Corona program, not by Box2D force).

When the Egg lands on the Wall, and the wall moves, the egg still stands at a position, so after the wall moved off, the egg falls.

I need the egg to “stick” to the wall (that is, when the wall move left 20 pixel, the egg also move left the same amount). Is it possible with Box2D body parameters?

  • 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-05-27T13:34:06+00:00Added an answer on May 27, 2026 at 1:34 pm

    First, you should not move box2d bodies setting their position/rotation. Because you are not providing the body’s velocity in this case collision with this body can not be simulated properly. Static bodies even does not have the ability to have velocity. If you want to move the body i think the best way is to use kinematic bodies or b2LineJoint. To make the egg stick you can use b2ContactListener class to handle collision of the egg with the platform. When the collision is handled – create b2WeldJoint.

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

Sidebar

Related Questions

I have python .egg files that are stored in a relative location to some
I'm working on a easter egg, where you have to activate some links in
I have this following test code: public static final String[] list = { apple,ball,cat,dog,egg,fan,girl,hat,igloo,jerk
Looking in my /usr/local/lib/python.../dist-package directory, I have .egg directories and .egg files. Why does
I have installed pylons based application from egg, so it sits somewhere under /usr/lib/python2.5/site-packages.
As an easter egg for a part of one of my sites, I have
I heard about the chicken and the egg and bootstrapping. I have a few
I have a chicken-egg problem. I would like too implement a system in PHP
Lets say I have this model class Egg(models.Model): file = FileField(upload_to='media') img = ImageField(upload_to='media')
I think I have a bit of a chicken and egg problem. I would

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.