x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

No Destructible Mesh Destruction Happening On Client

Hello everyone this is my very first question/post on the forum. I have recently switched to Unreal Engine from Unity 5 so please forgive me if I used wrong terminology etc. I have an issue with propagating destruction to the clients from the server. In short that is what I am currently doing:

I have a blueprint(called attack) that holds one component which is my beam particle effect(and on begin play event+replicated variables, but that later).

It is spawned by pressing the right mouse button(Replicated Function run on the server). This replicated function then checks what is the start and end position of the beam and then spawns my blueprint actor(called attack).

Blueprint (attack) has 5 variables:

  • source

  • target

  • damage

  • damageRadius

  • rotation

All of them are replicated

It also has two functions:

  • Apply Damage- Applies Radial Damage to the target vector position

  • Spawn Lightning- Creates the particle effect

The thing is damage is applied both on the client and the server. When client shots the destructible mesh the server see the destruction. When server shot the destructible mesh nothing happening for the client, server sees the destruction. But even thought the client cant see the destruction the collision detection is working as the collision happened(character is blocked by debris when he cant see it). What might be a possible reason for that? Particle Effect is correctly replicated both for server and client. But damage is only seen by the server where it has happened both on server and client.

Product Version: UE 4.7
Tags:
more ▼

asked May 20 '15 at 01:41 AM in Blueprint Scripting

avatar image

Dharr
11 1 2

avatar image Dharr May 20 '15 at 01:34 PM

Anyone any advise?

avatar image Jujaswe Jul 19 '15 at 05:17 PM

Have you solved this? I'm running into the same problem. I'm using a Line trace and Apply Radial Damage.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question