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"

How to enable collision on one specific client?

I'm making a game where when you die you will be respawned into spawn area. Timer starts ticking and counts down to 0 and then forcefield gate opens and collision is removed from invisible area. Multiple players might be on one team and, when one dies, gate's collision should be enabled only for respawned client. When i enable collision only on specific client and that client's pawn tries to move against gate, he will get stuck for a splitsecond and then pawn clips through it. I think it is because there is no collision on server side and pawn can move freely on server side, once passed the gate client's location will be synced with server data. Btw i'm using character movement component on my character. My question is: how to fully enable collision for one specific client?

Product Version: UE 4.20
Tags:
more ▼

asked Oct 09 '18 at 08:44 AM in Everything Else

avatar image

FinalZer0
46 1 4 7

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Ended up making new collision channel "SpawnZoneWall" and enabling/disabling collision on pawn, when necessary. Node i used was "Set Collision Response to Channel"

more ▼

answered Oct 12 '18 at 07:30 AM

avatar image

FinalZer0
46 1 4 7

(comments are locked)
10|2000 characters needed characters left
Your answer
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