How would one go about setting up a Pawn derived from class APawn with proper collision; one in which it doesn’t fall through the floor? This is the start of myself creating a Pawn that utilizes Steering Behavior using force vectors for movement. What do I do in code to prevent it falling through the ground on placing it into the world and hitting play?
All I have is a simple Capsule Collider as a RootComponent. I tried setting Collision Enabled to Query and Physics and it still falls. Is there another component that needs to be added? I cannot find a real tutorial which sets up a character Pawn via C++ code. Extending through Blueprint advice is also acceptable for me. Thanks.