Skip to content

Get Sansar

Script API

SitObjectInfo

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Struct Namespace Sansar.Simulation

Information about if an agent is sitting on this SitObjectInfo.

public struct SitObjectInfo

Members at a glance

KindMembers
FieldsExitForward · ExitPosition · IsOccupied · LocalForward · LocalPosition · SessionId

Fields

ExitForward

public Sansar.Vector ExitForward

The local space forward direction of the exit point from this sit point.

ExitPosition

public Sansar.Vector ExitPosition

The local space exit point where an agent will be when they stand up from this sit point.

IsOccupied

public bool IsOccupied

Is an agent sitting on this object

LocalForward

public Sansar.Vector LocalForward

The local space forward direction for the object sit point.

LocalPosition

public Sansar.Vector LocalPosition

The local space point on the object where an agent would sit.

SessionId

public Sansar.Script.SessionId SessionId

The SessionId of the agent that is sitting on the object.

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.