Well I exported as 3ds. but look what it looks like:
Not sure how to set 3dsmax to export as a .msh

Not sure how to set 3dsmax to export as a .msh
Well I exported as 3ds. but look what it looks like:
![]()
I emailed it also
* canards - extended - cycle once (tap 'N' twice to clear off scenario load bug)
v = vessel.get_focusinterface()
--hdock = v:get_dockhandle(0)
--pos,dir,rot = v:get_dockparams(hdock)
--pos1 = {x=0,y=2.85,z=31.69}
--v:set_dockparams(hdock,pos1,dir,rot)
res = v:send_bufferedkey(OAPI_KEY.G)
proc.wait_simdt(0.5)
res = v:send_bufferedkey(OAPI_KEY.G)
proc.wait_simdt(0.75)
function SetMat(angles)
local angles = {x=angles.x,y=angles.y,z=angles.z}
local RM_X = {m11=1,m12=0,m13=0,m21=0,m22=math.cos(angles.x),m23=-math.sin(angles.x),m31=0,m32=math.sin(angles.x),m33=math.cos(angles.x)}
local RM_Y = {m11=math.cos(angles.y),m12=0,m13=math.sin(angles.y),m21=0,m22=1,m23=0,m31=-math.sin(angles.y),m32=0,m33=math.cos(angles.y)}
local RM_Z = {m11=math.cos(angles.z),m12=-math.sin(angles.z),m13=0,m21=math.sin(angles.z),m22=math.cos(angles.z),m23=0,m31=0,m32=0,m33=1}
RotM = mat.mmul(RM_X, mat.mmul(RM_Y, RM_Z))
return RotM
end
function park(hvessel)
local v = vessel.get_interface(hvessel)
local hobj = v:get_surfaceref()
local glob = v:get_globalpos()
local equ = oapi.global_to_equ(hobj,glob)
local lng = equ.lng
local lat = equ.lat
local hdg = v:get_yaw()
local normal = v:get_surfacenormal()
local h_normal = vec.set(normal.x*math.cos(hdg)+normal.z*math.sin(hdg),normal.y,-normal.x*math.sin(hdg)+normal.z*math.cos(hdg))
local pitch = -math.asin(h_normal.x)
local roll = -math.asin(h_normal.z)
local rot_1 = SetMat({x=0*RAD,y=90*RAD-lng,z=0*RAD})
local rot_2 = SetMat({x=-lat+0*RAD,y=0,z=0*RAD})
local rot_3 = SetMat({x=0,y=0,z=180*RAD+hdg})
local rot_4 = SetMat({x=90*RAD-pitch,y=0,z=roll})
local RotMat = mat.mmul(rot_1,mat.mmul(rot_2,mat.mmul(rot_3,rot_4)))
local vector = {x=math.atan2(RotMat.m23,RotMat.m33),y=-math.asin(RotMat.m13),z=math.atan2(RotMat.m12,RotMat.m11)}
local pt1,pt2,pt3 = v:get_touchdownpoints()
local height = {x=-pt1.y+0.1,y=0,z=0}
v:defset_status({ status=1, surf_lng=lng, surf_lat=lat, surf_hdg=hdg, arot=vector, vrot=height, version=2 })
return
end
hvessel = vessel.get_focushandle()
hobj = v:get_surfaceref()
glob = v:get_globalpos()
equ = oapi.global_to_equ(hobj,glob)
hdg = v:get_yaw()
contact = v:get_groundcontact()
if contact then park(hvessel) end
goals = 0
while goals < 1 do
contact = v:get_groundcontact()
spd = v:get_groundspeed()
lvl = v:get_thrustergrouplevel(THGROUP.MAIN)
if contact and lvl==0 and spd < 0.05 then park(hvessel) end
brk = v:get_wheelbrakelevel(0)
v:set_surfacefrictioncoeff(0.01,2)
if brk > 0.1 then v:set_surfacefrictioncoeff(5,5) end
proc.skip()
if goals > 0 then end
end
(BTW, Face if you read this, do you by any chance still have the source files of the G42.dll you compiled?)