Hey, another question, wee /o/
Im looking for a way to disable collision of an object so that clients know it is disabled.
Right now I use GetComponentsInChildren<Collider> to get a list of the colliders of an entity, then a .enabled = false.
Apparently it works for the server, but on the client side the game doesnt know the collision is disabled so a player cant walk thought the entity.
How do you communicater to the client that it should not collide with an entity anymore / the entity colliders are off ?
Disabling collision of an entity (+client side)
Discussion in 'Rust Development' started by Yatta, Jul 28, 2016.
-
I think you will need to modify the client for this which is not possible witouth mods. Correct me if I am wrong though.
-
There has to be a way to do it as its just entity control and not resource editing - its a matter of turning on or off a component. Now that I think of it I didnt try to actually delete the collider. Ill try that.
