Jakob Hellermann

Results 149 comments of Jakob Hellermann

@mockersf > keeping that information synced between code used by CI, https://github.com/bevyengine/bevy/blob/main/CONTRIBUTING.md and https://github.com/bevyengine/bevy-website/blob/master/content/learn/book/contributing/code/_index.md seems a bad idea, could we remove at least one of them? Can we just add...

Can you send an example graph?

Should this just work because `Vec3` implements `Reflect` as a struct, so `transform.translation.x` should result in an `f32` value without having to hardcode anything specifically for glam?

Calling methods on reflected values is something that I want to enable at some point. IMO that `reflect_call` shouldn't be on the `Reflect` trait itself, but in a struct (`ReflectMethods`...

I started a small repro for trying out data representations for reflect method: https://github.com/jakobhellermann/bevy_reflect_fns If you have any comments on it please let me know :) The next stop would...

Initial implementation for function calls is done (excluding mutable references). Here's an example of a function call in script: https://github.com/jakobhellermann/bevy_mod_js_scripting/blob/399e1a05877b5bd9d648dfae746738cfdb426bad/assets/scripts/headless.ts#L32-L37 Next step is trying out some more methods (I'd like...

Maybe we can use the ,`FinalizationRegistry` to clean up resources on the rust side: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry

Hm, if the `FinalizationRegistry` doesn't end up working (it is called out as unreliable in the official docs after all) clearing the map after every frame would be a valid...

Maybe they could be autogenerated using the static `TypeInfo` if available https://docs.rs/bevy_reflect/latest/bevy_reflect/enum.TypeInfo.html

It's not possible to associate values with types in typescript, right? It would be cool if ```ts type Transform = { translation: Vec3; // ??? }; console.log(Transform.type_name) // the type...