獲取擊中物體物理材質時,返會Nullptr的情況

執行 UGameplayStatics::ApplyPointDamage(HitActor, 20.0f, ShotDirection, Hit, MyOwner->GetInstigatorController(), this, DamageType);   這行語句的時候,調試下發現下一行語句中Hit  中的PhysMaterial 爲Nullptr. EPhysicalSurface Su
相關文章
相關標籤/搜索