Skip to content

Releases: TiagoCavalcante/r3f-native-orbitcontrols

Ensure `target` object ins't shared between cavases

03 Apr 23:55
0cfb50c
Compare
Choose a tag to compare

This release ensures the target object isn't shared between canvases (#42, #43, thanks @NikitaDudin for the fix!). It may prevent errors when the target object is shared between different canvases.

Fix behavior of touches in newer devices

17 Feb 23:19
7468e51
Compare
Choose a tag to compare

This release adds the ignoreQuickPress option, which is disabled by default (#34).

This may be a breaking change for some users on older devices. Now to achieve the old behavior you can set this option to true:

<View {...events}>
    <Canvas /* other options */ ignoreQuickPress>
        <OrbitControls />
        {/* Place the scene elements here as usual */}
    </Canvas>
</View>

The explanation for this change can be found here.

Add support to OrthographicCamera's

01 Sep 19:40
38b1386
Compare
Choose a tag to compare

This release adds support to OrthographicCamera's (#25), as requested by @Osmanity (#24)

Bug fixes

16 Apr 17:33
8ef8566
Compare
Choose a tag to compare

This release fixes the following bugs:

  • Add expo-gl as a peerDependency (#18)
  • Replace minDistance and maxDistance with minZoom and maxZoom (#15, #17, thanks @ervibern!)

Happy new year!

08 Jan 11:23
0ea5dc9
Compare
Choose a tag to compare

This release fixes the following bug:

  • Camera stop working with re-renders in parent component (#10, thanks @JL978!)

Even more stable

04 Nov 00:22
2b6671c
Compare
Choose a tag to compare

This release contains the following bug fix:

  • Allow using a [broken] non-perspective camera

This release contains the following performance improvements:

  • Stop creating temporary camera on the controls start
  • Dedeuplicate safety check of the spherical phi

The following internal things were changed:

  • Add strict null checks
  • Update dev dependencies

Also, the README was improved and a sponsor button was added.

Thanks for all your support!

Stable release

20 Apr 18:22
Compare
Choose a tag to compare

I'm happy in announce r3f-native-orbitcontrols 1.0.0!

Now you can seamlessly add orbit controls to your scenes, and differently from expo-three-orbit-controls you don't need to adapt your scenes or accept whatever it thinks that is the best configuration.

r3f-native-orbitcontrols allow you to configure the controls the way you prefer, without exposing delicate parts that can break things.