Pointentity issue

Blitz3D Forums/Blitz3D Programming/Pointentity issue

cash(Posted 2003) [#1]
Maybe I am missing something, however when I load models and use the pointentity command, some behave as expected others seem to move in relation to the target object, however they are pointing the wrong way. I have tried setting orientation using turnentity, rotatemesh , etc etc but it doesnt work.

Could it be to do with something in the original model ?
If so I am using Milkshape and if I try to rotate the model
all animation goes wrong. Is there a way or rotating everything icluding animation in Milkshape ?? perhaps one for the Milkshape forum.

Deltayaw does not fix this either.


_PJ_(Posted 2003) [#2]
Turnmesh/Rotatemesh will change the actual facing of the mesh, which will determine the 'face' direction of Turnentity, PointEntity etc. Use a combination of both to achieve the correct facing.


cash(Posted 2003) [#3]
Thanks, I`ll give it a go...


Ken Lynch(Posted 2003) [#4]
PointEntity points the Z axis to point at the other entity so make sure when you export your models the front of the model is always in the positive Z axis and you'll have no problems.


Ross C(Posted 2003) [#5]
Basically pointentity will over-ride any turn or rotate entity commands if used after that is.