CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
330 stars 238 forks source link

Change the scale and rotation of the object #46

Open antoniopetricc opened 2 years ago

antoniopetricc commented 2 years ago

How can I edit the scale and rotation of the object after placing it?

CariusLars commented 2 years ago

Hey @antoniopetricc , just set the scale or rotation property of your ARNode to the corresponding values, for example myNode.scale = Vector3(1,1,1). You can see how to modify the entire transform property in this example

samatzp commented 2 years ago

Hi! @CariusLars Thanks for great package)

Question: We can scale object with 2 finger ofter selected?

Example:

https://user-images.githubusercontent.com/50781959/152347105-d6b9af8b-0430-4235-87a4-d1464c2f84f1.mp4

ghost commented 1 year ago

did you find any solution of run time scaling?