Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Wikitude SDK (Android, iOS, UWP)
Wikitude SDK Questions or Problems
disable snapping by button
h
heba Muhammad
started a topic
over 5 years ago
disable snapping by button
2 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
h
heba Muhammad
said
over 5 years ago
I try this code in button action method:
World.trackable.snapToScreen.enabled = false;
World.trackable.snapToScreen.enabledOnExitFieldOfVision = false;
But, it doesn't work, snapping still there, snapping can't be stopped.
How to solve this problem ?
Thank you,
h
heba Muhammad
said
over 5 years ago
I found on other post ths answer for ay one else may need it.
Easiest is to loop through your active trackable2dObjects and ensure
trackable2d.snapToScreen.enabled = false;
I didn't make this loop in first, now it's working.
Login
or
Signup
to post a comment
More topics in
Wikitude SDK Questions or Problems
Instatiation of WTArchitectView compile errors
Point of interest - native iOS
Slider
Camera lagging / slow in native Swift application
Create a web service
N-th ImageDrawable not displayed
Radar Example
stop defaultlocationmanager and use architectview.injectlocation ios 10
WTC Size Limit
AngularJS and wikitude
See all 3735 topics
© 2020
Wikitude
GmbH ·
Imprint
·
Legal
heba Muhammad