Well I am stumped on this problem. I have an .X Object (Cyclops) that will not face the camera even though all my other objects work just fine.
Here is the code:
If OBJECT EXIST(RoamNum)=0 then return
If Dist# < 70.0 And Dist# > 68.0 : sc_Setobjectcollisionon RoamNum
Show Object RoamNum
LOOP OBJECT RoamNum,AniStart,AniStop
set object speed RoamNum,10
Yrotate Object RoamNum,180
POINT OBJECT RoamNum,Px#,Py#,Pz#
point camera X1,Y1,Z1
When the object becomes visible, it's back is facing me, thus the YROTATE OBJECT 180. If I approach the object head on then no problem, but if I approach the object from the side, well look at the photo I included. The subroutine RotateD does not effect the object at all and it just will not face the camera.
Any suggestions on how to correct this problem?
When old programmers die...do they decompile?