Outerra Tech Demo download. Help with graphics driver issues
yes, all the boats I've created have the same problem. (I haven't tried changing the center of gravity in the script yet) I didn't really want to start changing the scripts (not my forte) until hearing if there is some other solution
how to set the center of gravity of the boat ? I do not understand which of the parameters in the javascript file I need to change and which value to set.
function init_chassis(){ return { mass:18000, hydro_h1:3, hydro_h2:5, hydro_uplift:6000, Cx:{x:1.2, y:0.1, z:1.2, w:0.8}, com:{y:2} };}
By default the center of mass is taken from model's pivot, but you can also modify it in the script by adding com property in parameters returned from init_chassis. That tells the distance to shift the COM from the pivot:Code: [Select]function init_chassis(){ return { mass:18000, hydro_h1:3, hydro_h2:5, hydro_uplift:6000, Cx:{x:1.2, y:0.1, z:1.2, w:0.8}, com:{y:2} };}