Panorama Controls

How to use the Panorama Controls with Unity?

I can add the Unity Component, but it seems that there is no corresponding TypeScript file.

Reference example: Panorama Controls | Needle Engine

Hi null! I’m your AI-powered assistant. I can help with questions related to Needle Engine, three.js, and basic Unity or Blender support. Please share your OS, Needle Engine version, and Unity version for more accurate help. Looking forward to your question!

2 replies left - GPT 4O
thread_P4aSKx9AvxntshiGfsHjy8IQ
Reply to this message to continue the conversation

Hello @benzac you can download the Unity Sample scene as a reference. In Unity open “Needle Engine/Explore Samples”

Thank you for the quick response.

Yes, importing the example helped me a lot. In the end, I had to add the following line to the package.json file for my current project/scene.

{
	...
	"dependencies": {
		...
		"samples.sensors": "file:./../../Library/PackageCache/com.needle.engine-samples@0.17.2/Runtime/DeviceSensors/Scripts/Samples.Sensors~"
	}
	...
}

Best regards,
benzac