hello
i’ve this hierarchy for class of type “Character Class”
what i wanna do is to get rid of the “CapsuleComponent” & “ArrowComponent” & “Mesh” component, and of course to keep the “CharacterMovement” component, as pointed here :
so, how could i do that ?
i was thinking of (if possible) to get the source code of “character class” and to build a new custom class from it by removing the “capsule & arrow & mesh” components, and to keep the “CharacterMovement” component.
also i’ve tried to place the destructable component “BRDM_Destructable” inside the capsule component, but the character won’t move anymore, even that the collsion presets for both the “Capsule” & the “Destructable” components are setup in such a way that they should work.
-additional information :
how does it work ?
1-the “BRDM_Destructable” isn’t inside the “CapsuleComponent” (it’s away from it)
2-there’s nothing attached to the “Mesh” component, and it’s “Collision Prests” is set to “No Collision” (so it’s like it doesn’t exist)
3-all these components are within “BRDM_Sphere_Collider_X” radius(“BRDM_Sphere_Collider_X” is a shpere collider component)
-why i’m using character class ?
i’m using it for the “CharacterMovement” component alongside with “AI Controller Class”
because using class “Pawn”, if i ever wanted to add a “CharacterMovement” component to a class of type “Pawn”, simply i can’t.