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

if the cylinder pos Y!=0, the collision detection output is wrong #4

Open
QH-Liang opened this issue Jan 16, 2022 · 0 comments
Open

Comments

@QH-Liang
Copy link

when the cylinder pos.y is not zero, the real collision model is higher than it should be in Y derection.
such as I set the Y as

const vec3 cylinder_pos[NUM_CYLINDERS] = {
			vec3( 6, 3, 0),
			vec3(-6, 0, 0),
			vec3( 0, 0,-6)
		};

the player capsule can get through the first Cylinder[0], but can not get through a space higher than the mesh.

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

1 participant