# USceneComponet, USkeletalMeshComponent, and PhysicsAsset

**URL:** <https://forums.unrealengine.com/t/uscenecomponet-uskeletalmeshcomponent-and-physicsasset/465992>\
**Category:** World Creation\
**Tags:** skeletalmeshcomponen, physics-asset, scene-component, unreal-engine, question\
**Created:** [May 30, 2020, 12:56am UTC](https://forums.unrealengine.com/t/uscenecomponet-uskeletalmeshcomponent-and-physicsasset/465992 "2020-05-30T00:56:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerry.Richards](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jerry.Richards](https://forums.unrealengine.com/u/Jerry.Richards)\
**Post date:** [May 30, 2020, 12:56am UTC](https://forums.unrealengine.com/t/uscenecomponet-uskeletalmeshcomponent-and-physicsasset/465992/1 "2020-05-30T00:56:41Z")

</div>

When I put a SkeletalMeshComponent under a SceneComponent the PhysicsAsset stops working. This may be due to a combination of the two in use with a PawnMovementComponent.  
This works:

```
    SkeletalMeshComponent = CreateDefaultSubobject<USkeletalMeshComponent>(TEXT("SkeletalMeshComponent"));
    SkeletalMeshComponent->SetNotifyRigidBodyCollision(true);
    SkeletalMeshComponent->SetGenerateOverlapEvents(true);
    RootComponent = SkeletalMeshComponent;
    MoveItComponent = CreateDefaultSubobject<UPawnMovementComponent>(TEXT("MoveItComponent"));
    MoveItComponent->UpdatedComponent = RootComponent;

```

This does not:

```
    MySceneComponent = CreateDefaultSubobject<USceneComponent>(TEXT("MySceneComponent"));
    RootComponent = MySceneComponent;
    SkeletalMeshComponent = CreateDefaultSubobject<USkeletalMeshComponent>(TEXT("SkeletalMeshComponent"));
    SkeletalMeshComponent->SetupAttachment(RootComponent);

```

Should this work? Am I doing something wrong?  
When the SceneComponent is created and the SkeletalMeshComponent is added to it collisions stop working. I’ve tried setting the SkeletalMeshComponent to the UpdatedComponent too when it is a child of the scene component but that doesn’t help either.
