1
News / Re: Stencyl 3.1 - Soft launched on May 14th, Updated May 23rd
« on: May 23, 2014, 06:55:45 am »
Making a zip and installing it manually through stencyl worked. Good to know!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
b2Vec2* v1 = new b2Vec2(0,0);
b2Vec2* v2 = new b2Vec2(0,0);
[self createStickJoint:_junk1.body two:_junk2.body p1:v1 p2:v2];
//Joints
#ifdef __cplusplus
- (b2Joint*)getLastCreatedJoint;
- (b2Body*)getGroundBody;
- (b2Joint*)getJoint:(int)jointID;
- (void)destroyJointByID:(int)jointID;
- (void)destroyJoint:(b2Joint*)j;
- (b2DistanceJoint*)createStickJoint:(b2Body*)one two:(b2Body*)two p1:(b2Vec2*)p1 p2:(b2Vec2*)p2;
- (b2RevoluteJoint*)createHingeJoint:(b2Body*)one two:(b2Body*)two pt:(b2Vec2*)pt;
- (b2LineJoint*)createSlidingJoint:(b2Body*)one two:(b2Body*)two dir:(b2Vec2*)dir;
#endif
#ifdef __cplusplus
..
Because the rest of the functions in Script.h work like they should.