I would use two spheres one as the ‘root’ of your actor physics,
the other is parented to the root object, and is moved so the top of the sphere, reaches the top of your actor, when you press the dodge button, you unparent the ‘upperbody sphere’ and move it down to the center of the root sphere, a little each frame, then parent it again to the root object,
ensure ‘compound’ is checked in physics
does not work for triangle mesh, or convex hull physics hulls.
this ‘Root object’ can behave like a dynamic, or rigid body while your armatue can also play animations.
thank bpr for the answer, i get what you say, but my problem is that when the physique bound of my character quickly jump back, it goes through walls. i’m not talking about the model, but the physique box itself.
ok, i still have to work on the movement but i just finished the lock on system and i wanted to share.
MIDDLE MOUSE BUTTON to toggle lock on the nearest enemy.
MOUSE MOVEMENT to rotate the camera,
RIGHT MOUSE BUTTON to change camera view
WASD to move
LEFT SHIFT to run
and SPACEBAR to dodge (but it’s still broken)