LoadAnimMesh 180 Rotation

Blitz3D Forums/Blitz3D Programming/LoadAnimMesh 180 Rotation

CreativeBrain(Posted 2003) [#1]
After I load an animated 3DS with:
global model= LoadAnimMesh("Media/Models/3DS/model.3ds")

It appears 180 degrees turned. No command I can find seems to turn it. Not rotateentity, rotatemesh, turnentity, etc.

I am using animated models from a freeware package so I am I kinda stuck with what I got (ie-I did not custom make them in milkshape or anything).

Any suggestions on how to rotate the model and it's animations 180 degrees?


LostCargo(Posted 2003) [#2]
post the mesh.


CreativeBrain(Posted 2003) [#3]
Hmm I tried the same model in the "TranslateEntity" example, and it rotated with no problem. Now I am thinking it may be "SuperCam" code I got from the code library.
________
Function SuperCam(cam,ent,cspeed#,dist#,hite#,xrot#,tilt#)

TFormPoint 0,hite#,-dist#,ent,0

cx#=(TFormedX()-EntityX(cam))*cspeed#
cy#=(TFormedY()-EntityY(cam))*cspeed#
cz#=(TFormedZ()-EntityZ(cam))*cspeed#

TranslateEntity cam,cx,cy,cz
PointEntity cam,ent
RotateEntity cam,xrot#,EntityYaw(cam),tilt#

End Function
________
Perhaps it's always pointing to the model's front? I am researching this further.


CreativeBrain(Posted 2003) [#4]
Found the problem and corrected it. It was the camera routine, so I wrote a new one. How do I delete this topic?