Actor class when passing by Blueprint Interface

OK, bit of a knotty problem (or so it seems)…

I have a Blueprint class named SYNX_WAVE2 which inherits from Water.GerstnerWaterWaveGeneratorBase

It is setup to receive data via a Blueprint Interface:

The Blueprint that I want to send data via the interface is almost setup and ready to go:


It needs a target class. For this, I assumed I need to use the Get Actor of Class node. However, the drop-down class selector doesn’t contain the class SYNX_WAVE3 (or water, or gerstner, etc.,)


I’d be grateful for any suggestions.

TIA

Aha! I can use Gerstner Water Wave Subsystem…


The interface doesn’t work, though.

1 Like

It’s not an actor, it’s an object. So ‘get actor of class’ will not work. Mind you, the main reason for using interfaces is to avoid knowing the class when you make the call.

You could make the call if you construct an instance of the object, like

But I have absolutely no idea if something like this lives in the water system… :rofl:

Thanks. I found the answer here: WaterBodyOcean Gerstner Wave Runtime Edits posted by anonymous | blueprintUE | PasteBin For Unreal Engine

2 Likes

Very good :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.