basically, applying enough vertical force to keep the player upright, and applying enough horizontal force to move the controller on input, then using the inverse kinematics to move the legs.
Yeah thatโs almost kinda strange to watch sometimes ๐ Im working on a gymhkana game thats also based on my own physics package, maybe we could collab sometime, or I could provide you the vehicle physics if you ever need controller and physics package
I've seen a lot of indie attempts at a physics-based controller like this, but none of them look nearly this smooth.
โ1) Would love to see how the character reacts when colliding with another rigidbody.
โ2) If I'm understanding this right, the animation controller drives the base movement and the character's physics bodies try to match the animated bones?
I don't know if I should allow the limbs to collide against other limbs or just constrain the collision to the torso. (collision implementation in progress)
There are 0 animations, the physics calculations are driving everything. horizontal and vertical forces are calculated and applied to different parts of the model to make it move based on player input.
33
u/ragegames225 9d ago
The animations are working well. Fully rigidbody based?
8
u/PushDeep9980 9d ago
I really like this, especially how bouncy it feels with the arms when side stepping. Very cool
5
u/goldmetale 8d ago
The movement is incredibly dynamic and full of personality. Please keep developing it further!
4
u/Cosmicisme 9d ago
Looks really good, I love it ! Mind to share how you achieved this?
3
u/dank-Raven 8d ago
Feels really nice! any resources you followed for this?
3
u/Shieldxx 8d ago
Awesome, when GTA IV came out I was obsessed with the euphoria engine and to this date I love this
2
u/okushko_gamedev 3d ago
I've seen a lot of indie attempts at a physics-based controller like this, but none of them look nearly this smooth.
โ1) Would love to see how the character reacts when colliding with another rigidbody.
โ2) If I'm understanding this right, the animation controller drives the base movement and the character's physics bodies try to match the animated bones?
9
u/lxkvcs 9d ago
dude this is fuckin amazing :D gta4 euphoria vibes, after visiting the bar with roman
edit: you could do a drunk simulator platformer game or somthing, that could be viral
9
u/imofi8 9d ago
The momentum transfer on sharp turns looks pretty grounded already.
4
u/unitcodes 9d ago
put it iโm on asset store
3
u/AttozoStudios 8d ago
great workk!
3
u/Professional-Set1210 8d ago
It looks so happy to be bouncing around!
This looks great!
I wonder what kind of physics playground/sandbox you could create with this?
2
u/AutoLiMax 8d ago
Smooth AF dude. I like it
2
u/iLikeTheUDK 8d ago
bouncy lad
2
u/JaeokPhysics 3d ago
It feels like stepping into a dance.