Lower authoritative pilot aim in generic worlds

This commit is contained in:
Meta Vens 2026-07-15 05:55:53 +01:00
commit 3075f71ece
15 changed files with 405 additions and 3 deletions

View file

@ -83,6 +83,26 @@ namespace GameCult.Eve.UnityScene
issuedAt);
}
public EveSurfaceCommandRequest CreateLookDirectionIntent(
string entityId,
float directionX,
float directionY,
float directionZ,
DateTimeOffset? issuedAt = null)
{
var playableWorld = RequirePlayableWorld();
return CreatePlayableWorldIntent(
playableWorld.LookCommand,
new Dictionary<string, string>(StringComparer.Ordinal)
{
["entityId"] = entityId ?? "",
["directionX"] = FormatFloat(directionX),
["directionY"] = FormatFloat(directionY),
["directionZ"] = FormatFloat(directionZ)
},
issuedAt);
}
public EveSurfaceCommandRequest CreateFocusIntent(
string entityId,
DateTimeOffset? issuedAt = null)