How do I add a force to a static mesh in a position that isn’t the center of mass?
The main thing I want to do is to simulate buoyancy. So ideally, I would be able to apply a buoyant force on the center of buoyancy and gravity on the center of mass. That way if the object is tilted, it would try to straighten itself back.
I’ve found the solution to the problem. You can use the Blueprint function “Add Force at Location” or “Add Force at Location (Local)”.
For my problem, I recommend using “Add Force at Location” (world coordinates). The reason is that adding a force locally means that as the model is rotated in the world, so is the force you’re applying.