kind of a stupid question but how do I get the EXACT position of a part (rotation aswell), i’ve tried CFrame and position, but it either misplaces it or misses it entirely.
whats wrong with Instance.CFrame?
it contains the position and the orientation of the part
you can use the position and orientation properties of a part object to get the exact position and rotation of the part
script below for example
local part = game.Workspace.PartName
local position = part.Position
print(position)
local orientation = part.Orientation
print(orientation)
local position = part.CFrame.Position
local rotation = part.Rotation
Do you mean like this?
1 Like
Unless you’re getting really crazy with floating point limits, CFrame gives the exact position of baseparts. Whatever you’re using it with is broken/flawed if you’re not getting the expected results.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.