Can't turn buoyancy on and off?

I’m trying to turn buoyancy on and off for a particular actor based on certain conditions but It seems that it’s always enabled unless I turn the buoyancy coefficient to 0. I’m using the activate and deactivate nodes to try this. Any idea why it doesn’t ever turn off?

OR maybe there’s a way to access the buoyancy coefficient through blueprints?

Hey, sounds like you’re having a similar problem to me. I was hoping I could do this kind of thing too, to make a boat sink.

I could be wrong, but I’m not sure it’s currently possible. If you look at the code for BuoyancyComponent.h that comes with the Water Plugin, there’s not much that’s actually exposed to Blueprint, and even less that has a BlueprintReadWrite property. There are also only a handful of Setter properties. You can get all of the Buoyancy information and data from the Buoyancy Component’s BuoyancyData struct, but again, it’s all read only.

This suggests to me that the functionality to be able to change Buoyancy properties on the fly just isn’t there yet. It’s a real shame, as there would be tonnes of great stuff you could do for boat simulation. Hopefully this is something that gets added in the future.