Hi all,
just a quick question regarding camera.up.set(0, -1, 0);
I have a (controls) camera orbiting a scene, and when the user dips his mouse beneath the floor, the camera flips into a new world. Just wondering how to animate that flip instead of having it happen instantly.
Im using camera.up.set(0, -1, 0); to flip the camera. Would anyone happen to know how to stretch that flip over a few quick milliseconds? Point is to let the user experience a quick whirl to let them get whats happening as they dip beneath the floor.
function onPositionChange(o) {
if (camera.position.y < -0.1){
camera.up.set(0, -1, 0);
}
}
This is the example
https://www.jopl.de/2/57.html
Cheers, me