In the LevelHelper, I am able to set bezier shapes to static, dynamic etc. In my code, I am in need of changing these properties. Can someone please help me with that?
LHBezier* bezier = [loader bezierWithUniqueName:@"BezierNode"];
[bezier makeStatic]; // not working
You can change body type like this:
bezier.body->SetType(b2_staticBody);
bezier.body->SetType(b2_dynamicBody);
bezier.body->SetType(b2_kinematicBody);