This is going to be a pretty vague question since you won’t really be able to understand the context of my game and stuff, but I figured its worth a shot anyway.
I’m making a 2d side scroller game, however it is treated like a 2d top down game, where the default movement mode is Flying, gravity is 0, press WASD to move in any direction freely, etc.
I want to have levels that go back to a normal 2d side scroller game, with gravity and the ability to jump and everything.
In these levels, in the level blueprint, off of BeginPlay, I cast to 2dsidescrollercharacter and set the movement mode to Walking, and set the gravity scale to 2. all of the CharacterMovement variables seem pretty default otherwise.
When I spawn into the 2d Side Scroller level, and movement mode is set to walking and gravity scale to 2 and all that, if I spawn my character in the sky, I am quickly able to jump and fall before I hit the ground. Once I hit the ground for the first time however, I am no longer able to jump, nor am I impacted by gravity: like if I walk off of the platform I am standing on, I simply do not fall, and I keep on going horizontally, even though I’m not standing on anything.
I know I have very little context, and I figured I can’t really send ALL of my blueprints, but I was wondering if anything came into mind to check as to why this problem is happening. I’ve done combination flying (2d top down) and walking (2d side scroller) games before and it has worked fine, I’m not sure as to why this is happening.
Thank you greatly for your input, apologies again for the lack of context. Any suggestions are greatly appreciated!