Skip to content

Commit

Permalink
I hate it when it doesn't save!
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Oct 18, 2023
1 parent c474d86 commit c0e0979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vphysics_jolt/vjolt_collide_trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ static void CastBoxVsShape( const Ray_t &ray, uint32 contentsMask, IConvexInfo *
//settings.mBackFaceModeTriangles = JPH::EBackFaceMode::CollideWithBackFaces;
// Josh: Had to re-enable CollideWithBackFaces to allow triggers for the Portal Environment to work.
// Come back here if we start getting stuck on things again...
if ( mBackFace || vjolt_trace_portal_hack.GetBool() )
if ( mForceBackFace || vjolt_trace_portal_hack.GetBool() )
settings.mBackFaceModeConvex = JPH::EBackFaceMode::CollideWithBackFaces;
//settings.mCollisionTolerance = kCollisionTolerance;
settings.mUseShrunkenShapeAndConvexRadius = true;
Expand Down

0 comments on commit c0e0979

Please sign in to comment.