Hey guys!
In a project for a upcoming tutorial I've been working on (a VR tutorial) I have ran into a physics positioning problem.
I have a sword with an Area node around the blade part of the sword (not around the hilt and cross guard), and I want to know the point where the Area collides with a RigidBody so I can push the RigidBody away in the proper direction.
I have tried several different methods, including using _integrate_forces with a RigidBody around the blade, but for some reason I cannot get _integrate_forces to find the collision point. Right now I have split the blade into several smaller Area nodes and am calculating the position from there, but it gives flaky results at best, and really strange results most of the time.
Does anyone know how to get the point where an Area/RigidBody collides with a RigidBody? Or the point where a RigidBody collides with a RigidBody (without pushing the RigidBody not around the sword)?