I can't spawn in Characters but can spawn in Actors

I wanted to spawn in AI at runtime however my code only works with blueprints that are actors such as static props not characters like the NPC’s that I’ve made.

If I drag and drop my Character into the scene manually it will work, however the moment I want to do it while the code runs it doesn’t work,

UE doesn’t throw out any error and running it seems to be all fine, so would be great if someone could teach me why exactly character spawning differs from actor spawning.

Ok found the issue. Chacater collider is not centered, it starts at 0 and goes below into the ground.

How do I move this capsule component up so that the bottom of the collider starts at 0 not the middle of it?

I think your mesh is too high?

17m
ClockworkOcean

I think your mesh is too high?


The character won’t spawn in if the collider is any bigger than the default 1 but I can’t scale it nor move it.

Why is this a limitation? I just need a simple offset for the capsule otherwise the collisions don’t match up. I could try making another capsule collider inside the capsule collider but that’s extra scuffed. Collision inception.

By default it rests on the ground

image

I think you’ll need to scale your mesh before setting it.

The character blueprint class does have these limitations. It’s just a non-configurable part of the parent.

If you use other collision volumes, they will not be considered for the character, unfortunately.

I’m not very knowledgeable in this area, but I think you either have to scale your mesh, or make your own character from scratch.