I’m attempting to create a 3D gravity game, but, I’m running into an issue trying to get things to face towards the gravity’s direction. I might wrong, but, look_at(...) doesn’t seem to be usable in this scenario as there isn’t an permanent up direction and was wondering how to get around that if possible. But, if look_at(...) is usable here, I’ll still use it.
You can try providing basis.y as an up direction for the look_at(...) function. Basis is a property of 3d nodes that holds orientation and scale information, and y component of it is the current up-vector of the node.