Pryme8 Posted March 23, 2016 Share Posted March 23, 2016 Not sure if I am tripping but, if I output a joint to the console the constructors for wheel and hinge2 seem to be the same in the typescript file it reads: public static DistanceJoint = 0; public static HingeJoint = 1; public static BallAndSocketJoint = 2; public static WheelJoint = 3; public static SliderJoint = 4; //OIMO public static PrismaticJoint = 5; //ENERGY FTW! (compare with this - http://ode-wiki.org/wiki/index.php?title=Manual:_Joint_Types_and_Functions) public static UniversalJoint = 6; public static Hinge2Joint = PhysicsJoint.WheelJoint; //Cannon //Similar to a Ball-Joint. Different in params public static PointToPointJoint = 8; //Cannon only at the moment public static SpringJoint = 9; but then in the output to the console it reads Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 23, 2016 Share Posted March 23, 2016 That's because they are the same. Even in the ts code you pasted. A wheel is a hinge2. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted March 24, 2016 Author Share Posted March 24, 2016 I know Im dumb... I read my post after I wrote it, and then thought I hit close on the browser without posting it... This was never supposed to be posted if you could delete it that would be awesome... I thought I saw the Wheel being assigned to 7 and then once I actually read instead of skimming I knew I was mistaken. Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 25, 2016 Share Posted March 25, 2016 Don't worry about it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.