hello. I tell you. My character does not have AI. It just moves forward with its animation. The problem is with Physics. When I add physics it’s like it collapses but when I remove physics it moves normally but flies and only collides with Mario. any suggestions?
here with physics
I managed to give it gravity but it has no collision, I added a collision box but it has no effect. I tried several types of collision but it always gives the same result.
Please read above about the root component. It is incorrectly nested in the hierarchy. The colliding element must be made the root for the movement component to work correctly with collision. Drag it there.
Collision (root)
Goomba
FloatingPawnMovement
Also, your collision is Overlapping All while it should be Blocking? Or how do you want it to work? What is responsible for detecting collision here?
The box or the skeletal mesh? Or both? And what kind of collision are you expecting? At least the root collision must be blocking for the FPM component to kick in.
fixed by using movement component with physics - you just need to know the trick! The trick being Add Movement Vector + Physics Simulation allowing for taking advantage of the Floating Movement Component magic. A tad more work and tweaking but much more interesting behaviours can now be had. Plus room for more nuanced physical materials if ever needed.
regarding flipping rotation, it was a world axis issue, here the pawns move in X axis, not Y. So we move the pawn forward and simply rotate it instead.