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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:24:21+00:00 2026-05-27T18:24:21+00:00

i have a fixture which i set his density to 0 , but he

  • 0

i have a fixture which i set his density to 0 , but he is falling down as he HAS a weight .

b2PolygonShape spriteShape; //b2polygon-for box shape
    spriteShape.SetAsBox(fruit2.contentSize.width/PTM_RATIO/10,fruit2.contentSize.height/PTM_RATIO/10); //for b2polygon
    b2FixtureDef spriteShapeDef;
    spriteShapeDef.shape = &spriteShape;
    spriteShapeDef.density = 0.0;

the world g is -9.8 as usual.

How i set this fixture to fall down slowly ? why density of 0/1/2 doesnt do that ?
thanks

  • 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-27T18:24:22+00:00Added an answer on May 27, 2026 at 6:24 pm

    How do you want it to react? Do you want it to kind of float down like a feather? A feather floats down slowly because it has the force of the air pushing it back up. So in other words, apply a small enough force upwards on the object that it falls slowly, but doesn’t go up. A very low density object will still fall fast without an opposing force to slow it down.

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

Sidebar

Related Questions

I have a fixture (json) which loads in development environment but fails to do
I have a test fixture class which is currently used by many tests. #include
In my project we have a set of integration test fixtures which are typically
I am using Django. I have a Fixture model, which looks something like: class
HI , I have created a model , which adds some fixture and model
I have a unit test fixture in which I'm trying to test a ControllerAction
I have a table which has one column as a foreign key joining to
I have a YML file containing fixtures for a Rails model (Comment) which looks
I have some code that generates fixtures, I am looking to add a fixture
Is there a way to have different fixture sets (what you might call a

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.