Replies: 1 comment
-
Wrong category. Moved it to the Issues page. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am having issues making ConvexMeshShape colliders collide properly and not overlap/go through each others.
I have put together a system to reproduce the issues.
Here are the steps :
In the testbed, open ConvexMesh.cpp and generate the polygon vertex array using the following code:
`
openglframework::Vector3* vertices = new openglframework::Vector3[6];
vertices[0] = {-2.992055, -1.803289, -0.496232};
vertices[1] = {-2.992055, -1.803289, 0.496232};
vertices[2] = {-2.992055, 1.803289, -0.496232};
vertices[3] = {-2.992055, 1.803289, 0.496232};
vertices[4] = {2.992055, -1.803289, 0.000000};
vertices[5] = {2.992055, 1.803289, 0.000000};
`
o Wedge
v -2.992055 -1.803289 -0.496232
v -2.992055 -1.803289 0.496232
v -2.992055 1.803289 -0.496232
v -2.992055 1.803289 0.496232
v 2.992055 -1.803289 0.000000
v 2.992055 1.803289 0.000000
s 1
f 1 2 4 3
f 3 4 6
f 5 2 1
f 3 6 5 1
f 6 4 2 5
Beta Was this translation helpful? Give feedback.
All reactions