Lower authoritative pilot aim in generic worlds
This commit is contained in:
parent
4b1f0be605
commit
3075f71ece
15 changed files with 405 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue