Releases: TiagoCavalcante/r3f-native-orbitcontrols
Ensure `target` object ins't shared between cavases
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
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
Bug fixes
Happy new year!
Even more stable
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
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.