Hi guys, I’m having a problem with PhysicsConstraint. Basically I’m casting a LineTrace and once I catch anything I’m creating a PhysicsConstraint. Then I’m trying to attatch to it catched Actor (StaticMeshComponent to be specific) and a StaticMeshComponent which is a part of my character blueprint. But when I do so, I get a warning
Constraint '/Game/UEDPIE_0_NewMap.NewMap:PersistentLevel.PhysicsConstraintActor_3.MyConstraintComp' attempting to create a joint between two actors in different scenes ( 'None' and '/Game/UEDPIE_0_NewMap.NewMap:PersistentLevel.Cone_9.StaticMeshComponent0' ). No joint created.
When I attach my root component instead of mentioned one, everything works fine. Here’s my code, bp’s hierarchy and child component details.