Why physics engine gets bundled even though I dont use physics?

Yup, I saw you also made monobeheaviour-lite that users can code up in TS

by user 135497451858690049

Super cool NGL

by user 135497451858690049

Haha monobehaviour light yeah kind of. With codegen to unity and blender for visual editing if you want :slightly_smiling_face:

Its a bit confusing for people when first starting since it works the other way around (because you code in typescript) but has many benefits too :slightly_smiling_face:

For people who are used to three I guess its super fine

by user 135497451858690049

Hi @Blue im curious how your experience is so far and if you did continue using our tools?

@marwie1 :cactus: I probably dont use it enough to give a meaningful feedback.

  1. I was overwhelmed by number of files in generated project (I want to put this into my exisiting astro project, but tedious migration probably cant be avoided?)
  2. I am happy with scene that gets exported as gltf, maybe would be nice to have some way to quickly resize textures before its exported?

by user 135497451858690049

Hope you dont change the way gltf gets exported because as I start digging into it and adding scripts to control objects in scene any change would be a breaking change

by user 135497451858690049

  1. How is that project setup? You most likely dont have to use the generated files if you have a project already. Otherwise it would be a good test for us to see what’s not yet working if you’re willing to share a bit about that (can be via DM)
  2. You can use the Texture import settings in Unity to change max size (compression will be applied when you make a production build - but you can also trigger it manually via the ExportInfo context menu)
    image.png

How do you mean that? We will not introduce any breaking changes there (nothing planned). How are you adding scripts? Are you just using the export capabilities and load it using your own engine or are you using Needle Engine for loading it too?

That’s great. I have my own tiny engine running on top of three, written in typescript, that does similar things to needle, such as calling update and start method on components.

by user 135497451858690049

So for me its great that I can export entire scene and access all the exported objects in a predictable manner

by user 135497451858690049

As needle evolves and I understand better how to use it I probably wont need my own engine though

by user 135497451858690049

So godspeed to you guys :sunglasses:

by user 135497451858690049

Right now as I said prototyping with needle is out of question for me, since bundled physics engine is going to drastically affect load times

by user 135497451858690049

Hello @Blue I’ve got good news for you:
image.png

Will be available in one of the next updates
image.png

with rapier:
image.png

without rapier:
image.png

Thanks for pinging :heart: Awesome!

by user 135497451858690049