Fixed collision listener bug & incorrect transform forward. Added collision tags to raycasts. #274
|
@ -206,7 +206,7 @@ namespace SHADE
|
|||
}
|
||||
|
||||
// Set the half extents relative to world scale
|
||||
const SHVec3 WORLD_EXTENTS = correctedHalfExtents * COLLIDER->GetScale() * 0.5f;
|
||||
const SHVec3 WORLD_EXTENTS = correctedHalfExtents * COLLIDER->GetScale();
|
||||
|
||||
if (type != Type::BOX)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue