Pointentity issue
Blitz3D Forums/Blitz3D Programming/Pointentity issue
| ||
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. |
| ||
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. |
| ||
Thanks, I`ll give it a go... |
| ||
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. |
| ||
Basically pointentity will over-ride any turn or rotate entity commands if used after that is. |