![]() OverlapWithNearDestroyable->SetMobility(EComponentMobility::Static) OverlapWithNearDestroyable = CreateDefaultSubobject(TEXT("OverlapWithNearDestroyableComp")) // another collision for checking other destroyables near Mesh->SetMobility(EComponentMobility::Static) Ĭollision = CreateDefaultSubobject(TEXT("CollisionComp")) // collision which will look for overlapsĬollision->SetMobility(EComponentMobility::Static) Mesh = CreateDefaultSubobject(TEXT("BaseMeshComp")) // base mesh which will store whole mesh RootScene = CreateDefaultSubobject(TEXT("RootComp")) // root scene which will hold everything else ![]() PrimaryActorTick.bCanEverTick = false //always disable tick if you don't need it
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |