Please help with object orientation...

Blitz3D Forums/Blitz3D Programming/Please help with object orientation...

Uber Jase(Posted 2003) [#1]
I have made a plane in 3d canvas and exported it as a directx object. When I load it into blitz the plane is backwards so when I use moveentity to move the plane forwards it moves backwards. How do I tell blitz which way the model should be? I have tried rotating the model 180 degrees in 3d canvas and then exporting it but it loads the same way round in blitz/


big10p(Posted 2003) [#2]
I don't know why B3D is making it face the wrong way (someone else will prolly come along and tell you) but I guess you could fix it by doing RotateMesh plane,0,180,0.


joncom2000(Posted 2003) [#3]
rotate the axis of the plane, not the plane itself, in 3d canvas, then reexport and it will be right.


IPete2(Posted 2003) [#4]
Metal,

Check out Psionic's tutorials on his web site (link under the links page above), about exporting etc. I think it's for Max and Milkshape, but it may be of some help.

IPete2.


Ken Lynch(Posted 2003) [#5]
MoveEntity moves an object along the positive Z axis, Canvas 3D's Z axis is 'into' the screen, so always create the model's front pointing 'into' the screen and you'll be fine. I use Canvas and B3D certainly doesn't load models backwards.


Jim Teeuwen(Posted 2003) [#6]
ah damn, i thought you where asking about OOP programming :P *me walks away slowly, feeling sad*