feature(Interaction): improve grabbing
Compare changes
- David Gilbert authored
refactor(Interaction): Moves IgnoreActors array to member variable, allocates now only once instead of on tick.
@@ -17,7 +17,6 @@ UGrabComponent::UGrabComponent()
@@ -27,8 +26,6 @@ void UGrabComponent::TickComponent(float DeltaTime, ELevelTick TickType, FActorC
@@ -90,6 +87,9 @@ void UGrabComponent::SetupPlayerInput(UInputComponent* PlayerInputComponent)