SimpleWindForce Question

Topics: Developer Forum, User Forum
Jul 15, 2012 at 1:01 PM

Hi,

I was trying to work with the SImpleWnid force controller and was trying to add an ignored collision ,so it doesn't work on certain bodies,but i can't seem to make it work.I'm doing something like this

   World.AddController(_simpleWind);
            Body.CollisionCategories = Category.Cat7;
            _simpleWind.AddDisabledCategory(Category.Cat7);
            _simpleWind.RemoveEnabledCategory(Category.All);
But it still doesn't work ,does anyone have an idea why?     

 

 

Jul 15, 2012 at 1:29 PM

OK i just added a Body ignore list in the source and worked it out that way.