Godot Version
4.3
Question
Is there a way to access the _integrate_forces internal method of a rigidbody from another node’s script or to access its state property during the forces integration all without giving that rigidbody a script?
I want to do that to create a custom integration for a customized joint
Thanks in advance!
why dont you want to use a script?
You can just call
PhysicsServer(2/3)D.body_get_direct_state(body_rid)
with the body_rid
Thanks for the reply!
The problem is that I want to do all the stuff to the rigidbody’s state exactly when it integrates the forces, in other words exactly when _integrate_forces would have been called on the rigidbody…
Any suggestions?
I doubt that this is possible without a script attached to the rigidbody.
I could only imagine observing the direct_state until something changes and then act upon that