Attach data to trigger out #926
-
is it possible to attach data, let's say an object or a string, to trigger out of an op, and access that data with the next op, connected this trigger ? if the question is not clear, i want to create a Rapier world object and have another op, working with that world object. do i have to output this world object via an object out port or can i attach this object to the trigger output and access this with another op, receiving this trigger. just asking in terms of making less connections between ops |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
hi you can use op.patch.cgl.frameStore for this. e.g. see ammoworld op: `
` |
Beta Was this translation helpful? Give feedback.
hi
you can use op.patch.cgl.frameStore for this.
e.g. see ammoworld op:
`
const old = cgl.frameStore.ammoWorld;
cgl.frameStore.ammoWorld = ammoWorld;
`