|
| 15 Jan 2015 03:29 PM |
am confused, one of the things I tried (out of confusion) is local Pos3D = torso.Position - workspace.Part.Position but it displays the Part like a Distance of 150 Approx. from the Torso :/ but in the Correct direction though |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 03:35 PM |
| http : // img ur . com /Zh8AUDh |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:03 PM |
| I also tried toWorldSpace() |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:37 PM |
I would use map.Part.Position = UDim2.new(.5, Pos.X, .5, Pos.Y) but I'm already more than half way to making a proper FPS Radar (u know the one were ur always in the middle) |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:40 PM |
1.) UDim2 won't work in 3D space. That's for GUI.
2.) Use magnitude to find the distance using Pythagorean's theorem.
local pos1 = Vector3.new(20,5,2) local pos2 = Vector3.new(11,17,1) local mag = (pos1 - pos2).magnitude |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:42 PM |
1. I know that, u must have misread my Posts :/
2. I was thinkin about it :/ just confused a lil cos didnt sleep much last night, and now it's like 22:43 so my Brains aren't at full work mode :/ |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:45 PM |
| "Programmers are machines that turn Caffeine into code." - cody123454321 |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:48 PM |
lol... I drank some Coffee about an Hour ago I think (or less) but Coffee doesn't help me that much (but it does make me feel awake like hell if I wanna sleep really bad)
so could u plz explain before I go to sleep? cos I cant use thing.Position = UDim2.new(0, mag, 0, mag) cos then even if a part was more on the side away from the Player then from back and forward the label will be done in Rectangle Mode :/ |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:51 PM |
| I do not understand your goal because the lack of explanation and grammar. |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:59 PM |
I want, the Label representing the Part in workspace, to be shown accurately on the Radar... the Player is always in the Middle of the Radar (like in FPS Games), so I didn't make the Frame the same size as the Baseplate, so I cant do UDim2.new(0, part.Position.X, 0, part.Position.Y)... so I need to make sure it's kind of the same distance as if the Frame was the same Size as the Baseplate... ya know? as I showed in the Picture (if u didn't see it) the Part is right beside me but it's in the Corner of the Radar :/ but it's in the right direction from the Player on the Radar |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 05:18 PM |
| I think I got it now :D Finally! :D |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 05:35 PM |
| except that my Radar isn't rotating properly :/ |
|
|
| Report Abuse |
|
|