Forum

User posts rulywinaldy
13 July 2017 10:14
hi, my name is ruly, i am new to this blend4web, and i am exited to learn more of this app.
recently i open the code snippet for camera move style and then i see the source code of that app, and then i see a variable like this

var STATIC_POS = new Float32Array([-4.5, -3, 0.5]);
var STATIC_LOOK_AT = new Float32Array([-4.5, 0, 0]);

var EYE_POS = new Float32Array([-1.5, -3, 0.5]);
var EYE_LOOK_AT = new Float32Array([-1.5, 0, 0.5]);

var TARGET_POS = new Float32Array([1.5, -2, 0]);
var TARGET_PIVOT = new Float32Array([1.5, 0, 0]);

i know that variable is use for fill the parameter of the position of camera, what i want to ask is, where i can find that value for x,y , and z axis ?