jesses / wck

Box2d Flash Alchemy Port + World Construction Kit (AS3 Physics Engine)

Home Page:http://sideroller.com/wck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Revolute joint with enableMotor = True

thalisvilela opened this issue · comments

I'm using Flash CS5, and the enableMotor true just dont work at all. I've tried everything possible, and it just dont work. Anything related to flash cs5?

Should work fine in CS5. Are you setting the max motor torque / force? motor speed?

Everything setup just fine, motor torque motor force everything. I installed the CS4 just to test, and worked ok. But in cs5 it keeps failing to enable any forces in joints, can't simulate coils in prismatic, can't simulate engine in revolutes etc. But the joints still "constraint", the revolute joints rotate freely. I'll make a fresh installation of CS5 again to check. Nothing against CS4, i just find CS5 better for coding.

I don't even know where to begin debugging that if it works fine in CS4. I use CS5.5 and used CS5 for a long time with WCK and everything worked OK. I guess if it was my project I'd start by setting up a bare-bones test project with one revolute joint and see if that works.

Still have no clue in what is the problem, but i found something interesting, if i open a project created in CS4 using the CS5 it compiles and works just fine, and even more weird, if i copy a joint from a CS4 created project into a CS5 project (witch isnt working propely) it works too. Thats very weird.

I'm kinda givin up now, tried every thing i could come up with and no success. I opened CS4 and CS5 side-by-side, checked every thing i could put my eyes on, and found nothig wrong except by the fact its not working in CS5. I wonder why this kind of stuff happens to me... Well, i like to say that we have to use every dificulty or problem in our benefit, so i'm developing the Graphics in CS4 and the code in FlashDevelop witch is realy by far better than CS5 to code obviously, and i'm doin fine. Thanks for staing with me during the issues. Thats a realy powerful library we've got here, congratulations to everyone involved in the project, keep up the good work!