Gravity Question

MasterCheif
Thu, 03 Jan 2019 00:01:15 +0000
Character & Animation

This is just a general question about the gravity/physics of certain classes. Not even blueprint or C++ specific, just a general question.

I’ve been trying different methods to change gravitational directions of a player. Characters are hard to deal with because of the skeletal mesh and sliding that happens when rotated. Pawns are hard to get the Movement Component set up in C++, and Default Pawns work somewhat well because they already come with a Movement Component.

However, when trying to apply gravity to a Default Pawn, an error tells me that I must simulate physics on the actor. Simulating Physics for the Collision Component makes my Camera move without my player. Simulating Physics for the Static Mesh that I’m using to represent my character makes it topple over.

But I noticed today that Character classes don’t have any Physics enabled, yet still fall due to gravity. I also noticed that, when rotated, the skeletal mesh doesn’t topple over like my static mesh.

Why is this?

2 posts - 1 participant