Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btCollisionWorld constructors not defined #181

Open
stevenvergenz opened this issue Dec 21, 2017 · 3 comments
Open

btCollisionWorld constructors not defined #181

stevenvergenz opened this issue Dec 21, 2017 · 3 comments

Comments

@stevenvergenz
Copy link
Contributor

I noticed that btCollisionWorld doesn't have any constructors defined in the IDL. This class is usually just a super class, but it's useful on its own too if you only need collision detection and no simulation, and this use case is currently broken. In fact, the only classes with constructors in that inheritance tree is btDiscreteDynamicsWorld and btSoftRigidDynamicsWorld.

Could you add at least the basic constructor for this class? I can file a PR if you'd like, but I haven't set up the build environment yet, and it looks like it'd take some time. This is probably a one-line change, seems like overkill.

@stevenvergenz
Copy link
Contributor Author

While you're at it, btCollisionObject is also missing a constructor, which is used for the same use case.

@kripken
Copy link
Owner

kripken commented Dec 21, 2017

#182 added some of this I think.

If you open a PR with what you need, I can test it, so you don't need a full build environment.

@mariocesarc
Copy link

I'm getting "Uncaught cannot construct a btCollisionWorld, no constructor in IDL" and happens the same with btCollisionObject. Im trying to do collision detection alone with no physics simulation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants