Documentation ¶
Index ¶
- func Validate(o O) bool
- type A
- func (a *A) AABB() hyperrectangle.R
- func (a *A) Flags() flags.F
- func (a *A) Heading() polar.V
- func (a *A) ID() id.ID
- func (a *A) Mass() float64
- func (a *A) MaxAcceleration() float64
- func (a *A) MaxAngularVelocity() float64
- func (a *A) MaxVelocity() float64
- func (a *A) MoveMode() move.F
- func (a *A) Position() vector.V
- func (a *A) Radius() float64
- func (a *A) SetHeading(v polar.V)
- func (a *A) SetID(x id.ID)
- func (a *A) SetMoveMode(f move.F)
- func (a *A) SetPosition(v vector.V)
- func (a *A) SetTargetPosition(v vector.V)
- func (a *A) SetTargetVelocity(v vector.V)
- func (a *A) SetVelocity(v vector.V)
- func (a *A) Size() size.F
- func (a *A) TargetPosition() vector.V
- func (a *A) TargetVelocity() vector.V
- func (a *A) Team() team.F
- func (a *A) Velocity() vector.V
- type O
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type A ¶
type A struct {
// contains filtered or unexported fields
}
func (*A) AABB ¶
func (a *A) AABB() hyperrectangle.R
func (*A) MaxAcceleration ¶
func (*A) MaxAngularVelocity ¶
func (*A) MaxVelocity ¶
func (*A) Position ¶
Position returns the current position of the agent.
External callers must not set the position via the position reference object returned here.
func (*A) SetHeading ¶
func (*A) SetMoveMode ¶ added in v0.3.12
func (*A) SetPosition ¶
func (*A) SetTargetPosition ¶ added in v0.3.2
func (*A) SetTargetVelocity ¶
func (*A) SetVelocity ¶
func (*A) TargetPosition ¶ added in v0.3.2
func (*A) TargetVelocity ¶
Click to show internal directories.
Click to hide internal directories.