Skip to content

Instantly share code, notes, and snippets.

@Maxime66410
Created April 27, 2025 15:26
Show Gist options
  • Save Maxime66410/6175dac9892bd466cd94aa7c7027a6b4 to your computer and use it in GitHub Desktop.
Save Maxime66410/6175dac9892bd466cd94aa7c7027a6b4 to your computer and use it in GitHub Desktop.
Create a box trace V1
FCollisionShape BoxCollision = FCollisionShape::MakeBox(SweepExtent);
GetWorld()->SweepSingleByChannel(HitResult, WorldCenter, WorldCenter, QuatRotation, ECC_WorldStatic, BoxCollision, QueryParams);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment