Property 'rotateY' does not exist on type 'GameObject'


ContextRegistry.addContextCreatedCallback(async (args) => {
  const context = args.context as Context;

  const glbReference = AssetReference.getOrCreate("some_id", "the/url.glb", context);
  const loaded = await glbReference.loadAssetAsync();

You can test stuff like that on StackBlitz too with Needle-engine - Vite Template (forked) - StackBlitz

Needle Engine - Load glb - StackBlitz < small example

Oh awesome this is perfect!! Thank you!

by user 690021744479830061