Hi guys
i am trying to break a Vector 3 line into Chunks to know the vector3 point on each of 25%, 50%, 75% of a line
i managed to half(50%) of that line by adding Point A and Point B and then Dividing it by 2 but thats all i can achieve i am not able to do this kind of calculation for 25 and 75 % of the line
Here is my code
Vector3 centerposition(Vector3 h0, Vector3 h1 )
{
Vector3 centerPositionOFdis = new Vector3(h0.x + h1.x, h0.y + h1.y + 0.5f, h0.z + h1.z);
return centerPositionOFdis / 2;
}
Plz take a look and kindly Help me in Extracting those vector3 points on 25 % of a line and 75% of a line Thanks
,