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

Stair navigation in the Doom default world with the physics-based camera #127

Open
PanosK92 opened this issue Dec 1, 2023 · 0 comments
Open

Comments

@PanosK92
Copy link
Owner

PanosK92 commented Dec 1, 2023

The recent update to the Doom default world in our game engine introduces physics-based interactions for all meshes, enhancing the physics/capsule-based camera's dynamic navigation. However, stair navigation remains a challenge, with players currently using the spacebar to jump over them. A possible approach to achieving smoother, more natural stair traversal is implementing a raycasting method, taking advantage of the physics-enabled environment to allow the camera to seamlessly adapt to stair geometry.

Example 1:
Screenshot 2023-12-01 151457

Example 2:
Screenshot 2023-12-01 151433

Source:

void Camera::ProcessInputFpsControl()

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

No branches or pull requests

1 participant