OrbitCamera

Camera that can be rotated around a target point or component. Control by pressing and holding left mouse button. Intended for scenes where there is no player to control (camera becomes the player). 

Can be used in 3D object customization UIs (for avatars, cars etc).

How to use

Go through the sidebar settings of the component and adjust to your needs. Click on the question mark next to a parameter for explanations. 

Upcoming Features

  • Support for Touch Zoom  ✅
  • Flexible orbit button binding

Remix

https://v2.oncyber.io/orbit-camera

Notes

This component can be used in an oncyber world and relies on the currently integrated versions of three.js and @oo/scripting. Changes in these packages might require updates to this component.

Please comment below if you have any feature requests, found a bug or need help when using the component.

Changelog

  • Aug 19, 2024 - v0.9.0 - Initial release
  • Aug 26, 2024 - v1.0.0 - Added mobile pinch-to-zoom (2 finger touch)

Leave a comment

Log in with itch.io to leave a comment.