arkit_flutter_plugin
arkit_flutter_plugin copied to clipboard
Update widget projection sample
Hi.
Can you please update the widget projection sample so the widget is drawn perfectly over the detected image? Matrix operations give me headaches :)
Several people have asked this in the issues section so it does seem to be useful to some people.
Hi, Add-on to this issue, is it possible to do a sample where the widget projection stays at the fix location just like how a default node is behave and being added into the scene. Currently the widget projection is stuttering and transforming weird.
You can check https://github.com/p-shapovalov/ar-view source code. There are different approach there, I draw widget with predefined size on detected vertical plane, but I guess you can take advantage from this https://github.com/p-shapovalov/ar-view/blob/master/lib/transform_ar_view.dart#L107
Little warning - not for 3.0 for now, there are a lot of PlatformView related issues for both platforms
@olexale it may be useful for you too to improve your current implementation. Thanks btw for inspiration:)
1+ would be really nice to have a working example