Add client pulling prediction (#2041)
* WIP changes * Merge conflict fixes * Bring pull controlelr to current year * Sync and predict PullController on the client * Clean imports * Slow down pullers and make pulling tighter * Stop pulls on pullable or puller component removals * Make pulling not occur when moving towards the pulled entity
This commit is contained in:
@@ -5,13 +5,11 @@ namespace Content.Shared.Physics.Pull
|
||||
{
|
||||
public class PullMessage : ComponentMessage
|
||||
{
|
||||
public readonly PullController Controller;
|
||||
public readonly IPhysicsComponent Puller;
|
||||
public readonly IPhysicsComponent Pulled;
|
||||
|
||||
protected PullMessage(PullController controller, IPhysicsComponent puller, IPhysicsComponent pulled)
|
||||
protected PullMessage(IPhysicsComponent puller, IPhysicsComponent pulled)
|
||||
{
|
||||
Controller = controller;
|
||||
Puller = puller;
|
||||
Pulled = pulled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user