Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[Answered] Is it possible to find the coordinates of the bottom of a part?

Asked by
I_0KI 40
7 years ago
Edited 7 years ago

I am making a blood pooling script in a localscript and I need some help with positions. In my code, I have made the whole script work except the blood floats a little off the ground because it brings the blood to the left leg. I need some help with finding the position of the bottom of a part (Left Leg) so it stays on the ground.

0
Just subtract half of the leg's height from the position of where the blood is to go (Leg height should be 2 studs, so subtract 1) Decemus 141 — 7y
0
how would I edit one value of the position without editing all of them? I_0KI 40 — 7y
0
Position = Vector3.new(blood.Position.X,blood.Position.Y - 0.5(leg.Size.Y),blood.Position.Z) Decemus 141 — 7y
0
Thanks! I_0KI 40 — 7y

Answer this question