Skip to content

How to obtain the position of the pig and position of the other agent? #36

@luarsu

Description

@luarsu

Hi everyone,

I've been looking at the code of the Focused agent to see how it gets the position of the pig, but I couldn't really understand how it gets it. I know it uses a value called target, but I haven't seen where does it get the target value.

Also, I'd like to know how can I obtain the position of the two agents when I'm deciding the next action to take by one of them.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions