Jump to content


Photo

Neutralising gravity in physics world


  • Please log in to reply
1 reply to this topic

#1 vann

vann

    GMC Member

  • GMC Member
  • 353 posts
  • Version:GM:Studio

Posted 08 June 2012 - 04:19 AM

Ok, if I set up a physics world with physics_world_gravity(0, 10) and then I create one fixture with a density of 1 which I want to apply a force to which neutralises gravity, what approach should I take?

I tried physics_apply_local_force(0, 0, 0, -10) which did not work, and the density clearly affects this, but I am unsure what the exact relationship is.

Note: I don't want a 0 density object. I just want to essentially create gravity-less areas in the world.

Thanks for any help

Edited by vann, 11 June 2012 - 11:55 AM.

  • 0

#2 vann

vann

    GMC Member

  • GMC Member
  • 353 posts
  • Version:GM:Studio

Posted 11 June 2012 - 11:55 AM

bump
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users