Hi.
Following yesterday's question, another question arose.
<action name="A84B_Livingroom_move" scope="local" args="scenename">
loadscene(get(scenename), null, MERGE|KEEPVIEW|KEEPMOVING, BLEND(1.0));
tween(view.tx|view.ty|view.tz, calc(image.ox +'|' + image.oy +'|' + image.oz), 2.0, easeinoutsine);
tween(view.hlookat|view.vlookat, 70|0, 2.0);
</action>
This is the coding of the automatic movement and view rotation of the 3D depthmap you are using.
tween(view.tx|view.ty|view.tz, calc(image.ox +'|' + image.oy +'|' + image.oz), 2.0, easeinoutsine);
I would like to change the 2.0 seconds of this coding to move at a constant speed regardless of distance or time.
How can I code this?