Setting up a character pawn w/ proper Collision
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.
asked Feb 02 '15 at 10:12 PM in C++ Programming
Inside the capsule component you need to either use the presets or specify how you want it to interact when colliding. default I believe is overlap all but sounds like you want block all.
answered Feb 04 '15 at 05:19 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here