-
Notifications
You must be signed in to change notification settings - Fork 410
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
Add shapecasts + raycasts #5440
base: master
Are you sure you want to change the base?
Add shapecasts + raycasts #5440
Conversation
Actual raycasts. Need this for AI LIDAR experiment.
Coincidentally, I started to take a look at the raycast end of this recently (https://github.com/eoineoineoin/RobustToolbox/commits/eoin/2024.09.xx.raycasts/) - I took a slightly different approach of putting a castray() function on the shapes interface which is a bit clearer IMO (though, that strategy doesn't work for shapecasts). If you want to run with this, that's fine, I'll leave it - I still had to finish some functions, had a bunch of todos, polish, and tests to do, but I did notice a few issues with the SharedPhysicsSystem.Queries.cs which would also be good to include. |
I'm porting the new C code from box2d. |
Holy shit, it's pretty cool! |
I dont know what this means in reality but does this mean we might actually get stuff related to not being able to interact/see stuff in the dark? (not invalidating the darkness via a right click) |
So atm I wouldn't use shapecasts for a character controller til erin does his sample but the raycasts work fine as is. |
Actual raycasts. Need this for AI LIDAR experiment.