How do I control the model flip speed. #8455
Unanswered
nuramalinaazizi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On scroll gesture, this is how my 3d model flip. How do I control the flip speed? Below is my code snippet
`manipulator = Manipulator.Builder()
.targetPosition(
kDefaultObjectPosition.x,
kDefaultObjectPosition.y,
kDefaultObjectPosition.z
)
.viewport(surfaceView.width, surfaceView.height)
.orbitHomePosition(0f, 0f, 4f) // Ensures correct starting position
.upVector(0f, 1f, 0f) // Locks Y-axis as the up direction
.orbitSpeed(1.0f, 0.0f) // Enables only horizontal movement (X rotation disabled)
.build(Manipulator.Mode.ORBIT)
3d_coin.mp4
Beta Was this translation helpful? Give feedback.
All reactions