/cuff positioning test
This commit is contained in:
@@ -46,10 +46,8 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (target.Id == player.Id)
|
||||
return;
|
||||
|
||||
float rad = player.Heading * MathF.PI / 180;
|
||||
Vector3 forwardV3 = new Vector3(player.Position.X + (1.2 * MathF.Sin(rad)), player.Position.Y + (1.2 * MathF.Cos(rad)), player.Position.Z);
|
||||
|
||||
target.Position = forwardV3;
|
||||
target.Position = player.GetInFrontOfPosition();
|
||||
target.Heading = player.Heading;
|
||||
|
||||
if (!target.HasAnimation("Cuffed"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user