Add nozzle and deluxo transformation sync.

This commit is contained in:
Sardelka
2022-05-29 18:16:32 +08:00
parent 93db7d3de6
commit 08aa1370de
17 changed files with 249 additions and 45 deletions

View File

@ -76,7 +76,7 @@ namespace RageCoop.Client
{
ID =v.ID,
SteeringAngle = veh.SteeringAngle,
Position = veh.Position.ToLVector(),
Position = veh.PredictPosition().ToLVector(),
Rotation = veh.Rotation.ToLVector(),
Velocity = veh.Velocity.ToLVector(),
RotationVelocity=veh.RotationVelocity.ToLVector(),
@ -117,7 +117,7 @@ namespace RageCoop.Client
{
ID =sp.ID,
ShooterID=sp.ShooterID,
Position=p.Position.ToLVector(),
Position=p.PredictPosition().ToLVector(),
Rotation=p.Rotation.ToLVector(),
Velocity=p.Velocity.ToLVector(),
WeaponHash=(uint)p.WeaponHash,