Author Topic: How to make the "back position" greater  (Read 571 times)

Here is Z0W0's Get back position.
Code: [Select]
//Thanks Zack0Wack0 for this
function getObjectBackPosition(%obj) {
%pi = 3.14159;
%box = %obj.getWorldBox();
%max = getWords(%box, 3, 6);
%min = getWords(%box, 0, 2);
%size = vectorSub(%max, %min);
%sizeX = getWord(%size, 0);
%sizeY = getWord(%size, 1);
%sizeZ = getWord(%size, 2);
%forward = %obj.getForwardVector();
%scaleX = getWord(%forward, 0) * 0.5;
%scaleY = getWord(%forward, 1) * 0.5;
%scaleZ = getWord(%forward, 2) * 0.5;

return vectorSub(getWords(%obj.getTransform(), 0, 2), %sizeX * %scaleX SPC %sizeY * %scaleY SPC %sizeZ * %scaleZ);
}
How do i make the back position greater?

It's obvious what you are trying to use these things for. You should be able to figure it out for yourself, if all you are going to do is copy a remake.

oh and incase you didn't see the PM i sent you
What the actual forget  are you trying to do to my loving mod?

oh and incase you didn't see the PM i sent you
What the actual forget  are you trying to do to my loving mod?
More tron vehicles?