spencer-melnick / Threshold

Untitled Unreal Engine project
Other
6 stars 2 forks source link

Generic interaction system #7

Closed spencer-melnick closed 4 years ago

spencer-melnick commented 4 years ago

Add a system to allow players to interact with generic interactive objects such as doors and switches.

This should probably be routed through the gameplay ability system like many other features so it performs reliably over the network. See the original GAS issue for more information: https://github.com/spencer-melnick/Threshold/issues/4

spencer-melnick commented 4 years ago

I've spent the past few days agonizing over different ways to predict networked interactions, but it might be good just to do everything server side for now - client side prediction could eat up quite a bit of time when it will only provide a minor improvement.

In the future it might be worth looking into Unreal's generic network prediction plugin. It's in beta 0.1, the same as GAS, and has some examples (though not as many).

spencer-melnick commented 4 years ago

Basic interaction with no client-side prediction is done - right now it's all routed through an ability to allow usage of blocking gameplay tags, but it may be easier to refactor the code to use simple RPCs in the future.