Hello, I was wondering if you could help me. I’m having problems getting this working with physics. I basically want to get it set up so that when 2 objects collide they react to each other. I’ve got this working but when I add Smooth Sync to them they just completely stop.
I tried to set the ownership to the listen-server like this
SetOwner(UGameplayStatics::GetPlayerController(GetWorld(), 0) );
Then I try and call the AddForce like this
if(HasAuthority())
{
MeshComponent->AddForce(GetForwardDirection(2500 * SwingPower), NAME_None, true);
}else
{
Server_AddForce(GetForwardDirection());
}
The Listen-Server moves however the other doesn’t, also there are no Physics when the Listen-Server client hits the other objects. However, if I do AddForce on the client and run it into the Listen-Server it collides with Physics… I’m a little confused and would love some help. Thanks!