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

Wireframe "last position" view for debugging #194

Open
dany-on-demand opened this issue Jan 22, 2024 · 0 comments
Open

Wireframe "last position" view for debugging #194

dany-on-demand opened this issue Jan 22, 2024 · 0 comments

Comments

@dany-on-demand
Copy link
Contributor

From: yvt/openspades#746

It would be nice to have (ideally gated via compile time flag so people don't feel compelled to cheat) a view that shows the last sent and received position of the player, ideally as colored wireframes.
This would be very useful for debugging the server prediction code.

For rendering - just enable wireframe mode on kv6 render, if voxlap mode is not enabled, and disable on exit. For previous positions, just make a variable array, I don't expect devs would run this for so long that they'd exhaust available ram lol

I agree that this should be hidden behind a compile flag. Maybe DEV_OR_ADMIN_TOOLS since this would also be useful for admins?

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