We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to get this to compile on cpp (JS is fine) and need a base var. I don't know what to plug in for the BtStridingMeshInterface.
I get the error: "cannot construct a btStridingMeshInterface, no constructor in IDL" because it's an interface.
Thinking about sticking some kind of tri or collision shape in there but not really sure which.
public var fallRigidBody:BtRigidBody = BtRigidBody.create(BtRigidBodyConstructionInfo.create ( 0, BtDefaultMotionState.create(BtTransform.create(), BtTransform.create()), BtBvhTriangleMeshShape.create(BtStridingMeshInterface.create(), false, false), BtVector3.create(0, 0, 0) ));
The text was updated successfully, but these errors were encountered:
Yup, this should help: https://github.com/armory3d/armory/blob/master/Sources/armory/trait/physics/bullet/RigidBody.hx#L128
Sorry, something went wrong.
Hey thanks for the above, I don't know how I missed that.
I'm still getting 'error C2512: 'btRigidBody': no appropriate default constructor available' (which is a repeated problem with other files).
Not quite sure what I'm not seeing, I thought the above construction would fix that.
I'll make another issue for that (I think that's the proper way to do it).
No branches or pull requests
Trying to get this to compile on cpp (JS is fine) and need a base var. I don't know what to plug in for the BtStridingMeshInterface.
I get the error: "cannot construct a btStridingMeshInterface, no constructor in IDL" because it's an interface.
Thinking about sticking some kind of tri or collision shape in there but not really sure which.
The text was updated successfully, but these errors were encountered: