Skip to content

Creating complex global variables #35

@zflo

Description

@zflo

I would like to create a complex global variable in my environment and read it out in the fitness script. It is supposed to represent 4 3D positions, so it must be some sort of 4 by 3 matrix. Is there some nerd.createGlobalProperty thing to do that (and some way to "decode" the data back to usable position vectors, in the fitness script)? So far, I didn't even manage to convert a new Array([...],[...],...) into a string, such that it would pass as a globalDoubleProperty. Shouldn't be a problem, eventually, but isn't there a simpler way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions