Godot Version
4.5
Question
This is for my side test project 3D Street fighters game and the problem has been bugging me for a while.
They are 2 characterbody3Ds with the default script. I’ve tried both default and jolt physics.
4.5
This is for my side test project 3D Street fighters game and the problem has been bugging me for a while.
They are 2 characterbody3Ds with the default script. I’ve tried both default and jolt physics.
You need to code the interaction between the two bodies yourself, the default code won’t handle it.
Sorry to sound dumb but how would one code interactions when the 2 inputs are fighting eachother?
It’s up to you specifically how to code the interactions, but I would start by looking at the movement code in _physics_process and changing move_and_slide() (if you are using that) to move_and_collide since that gives more information on the collision and lets you better control what happens to the velocity afterwards.