Spawn Actor, replication of exposed on spawn variable values

Hi there, I got a similar problem and maybe you can help me with this.

I have server spawned actors that have physics and collision enabled depending on a boolean that is exposed on spawn. Now I’d need it to be set on all clients to, but it’s not. Setting the replication conditions didn’t change anything.

Is there a way I can get this to work? The problem is when I try setting it over a multicast event (way after the construction) there’s a few different issues which is why exposing them on spawn seems much easier.

Thanks in advance and cheers.

EDIT: nevermind… :rolleyes: of course, the physics should only be simulated on the server, and the location of the object will be replicated, so the clients don’t need the information whatsoever.

Just because I’m interested, is there any way to make an exposed-on-spawn variable available to the clients at construction time?

1 Like