Delay CameraEvent
audun
Posts: 302 🔥🔥🔥
Hi,
Is it possible to delay an event?
Eg. delay switching between front and back camera with x seconds.
My goal is to create a transition effect between each camera switch.
function onBackCamEvent(eventData) { // delay 2 seconds print('switched camera'); } var cameraBackEvent = script.createEvent('CameraBackEvent'); cameraBackEvent.bind(onBackCamEvent);
Tagged:
0
Answers
-
Hi @audun You could try this: use AnimationMixer to play a fade-out animation, then switch cameras.
0 -
You have to watch the beautiful wide lens looking back****
-1 -
ابغي نجمه
-1