-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Remove ClippedCamera3D #53354
Remove ClippedCamera3D #53354
Conversation
reduz
commented
Oct 3, 2021
- Usage was always confusing for users
- The ability to generate a pyramid shape was moved to Camera3D
- SpringArm3D now casts using the camera pyramid shape if no shape is supplied.
Note that this makes impossible to use just the raycast shape with the camera. I personally don't find it an issue. |
030b498
to
39d84ea
Compare
@QbieShay Yeah, you can no longer use raycast with the camera, but I think it makes sense as now the camera always projects the correct pyramidal volume, hence it is impossible it goes behind geometry, whereas with the the raycast there is no warranty. |
Yes, I don't think raycasting with camera is enough of a usecase for us to worry about it. Good work! |
This can be done in a future PR, but the scene conversion code should probably convert existing ClippedCamera ( This should also be done with InterpolatedCamera. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes a lot more sense this way, and works as expected.
* Usage was always confusing for users * The ability to generate a pyramid shape was moved to Camera3D * SpringArm3D now casts using the camera pyramid shape if no shape is supplied.
39d84ea
to
b11bb59
Compare
Thanks! |