Skip to content

Conversation

@GhisBntly
Copy link
Contributor

Description

Allows intersections and collisions with geometry to also work when hitting "back" faces: most useful when rendering with double sided materials as well, and when the source geometry used to generate the tiles cannot be guaranteed to be properly oriented.

Passing false to Chaos::FTriangleMeshImplicitObject's ctor parameter bInCullsBackFaceRaycast had no effect because SetCullsBackFaceRaycast set it back to true some time later (called from
ChaosInterface::CreateGeometry through OnRegisterComponent and OnCreatePhysicsState)

Issue number or link

Mmh, pretty sure I had commented on a github or community thread mentioning similar issues, but I can't find it anymore :-/

Author checklist

  • I have done a full self-review of my code.
  • I have updated CHANGES.md with a short summary of my change (for user-facing changes).
  • I have added or updated unit tests to ensure consistent code coverage as necessary.
  • I have updated the documentation as necessary.

…set actor

Allows intersections and collisions with geometry to also work
when hitting "back" faces: most useful when rendering with double sided
materials as well, and when the source geometry used to generate the tiles
cannot be guaranteed to be properly oriented.

Passing false to Chaos::FTriangleMeshImplicitObject's ctor parameter
bInCullsBackFaceRaycast had no effect because SetCullsBackFaceRaycast
set it back to true some time later (called from
ChaosInterface::CreateGeometry through OnRegisterComponent and
OnCreatePhysicsState)
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

Successfully merging this pull request may close these issues.

1 participant