of     1   

TechSpectrum
#182658503Saturday, January 30, 2016 4:53 AM GMT

I'm trying to adjust the position of a brick around the player to always face the camera. So for example you have a sign or orb in front of you. If you walk forward and not move your camera, it will not rotate from it's position. However if you rotate your camera to look backwards, that orb/sign will rotate to be in front of the camera and therefore behind the player. What I'm trying to Work with: print(Camera.CoordinateFrame.lookVector) <-- Seeing if this can somehow return the cams current rot around the subject. My Primary Script: map = workspace assets = game.Lighting camera = map.CurrentCamera playerlist = game.Players playerclient = playerlist.LocalPlayer playermodel = map[playerclient.Name] s_HUD = assets.HUD:Clone() s_HUD.Parent = camera function SetupHUD() w = Instance.new("Weld") w.Parent = playermodel.Torso w.Part0 = playermodel.Torso w.Part1 = s_HUD w.C1 = CFrame.new( Vector3.new( 3 , 0 , -2 ) ) * CFrame.Angles(0,35,0) end SetupHUD()
SenseiWarrior
#182658672Saturday, January 30, 2016 4:56 AM GMT

local cam_rot = camera.CoordinateFrame - camera.CoordinateFrame.p removes the position from the cframe leaving the angle Instance.new("BodyThrust",SenseiWarrior).position = CFrame.new(SenseiWarrior,YourGirlsDMs)
TechSpectrum
#182658838Saturday, January 30, 2016 5:00 AM GMT

Thank you, I will see what I can do with this. :)
TechSpectrum
#182661385Saturday, January 30, 2016 5:57 AM GMT

For some reason I am breaking the rules but here is my post and I'm having a difficult time finding a solution. http://prntscr.com/9wotv8
TechSpectrum
#182661995Saturday, January 30, 2016 6:14 AM GMT

TL;DR I'm trying to figure out how to pull and take for example the Y coordinate of the result. 0, 0, 0, 0.775550902, -0.110271662, 0.621579528, -0, 0.984625697, 0.174678043, -0.631285191, -0.135471717, 0.763627172 So I can use it in this somehow for the rotation angle (y axis): --playermodel.Torso.Weld.C1 = CFrame.new( Vector3.new( 3 , 0 , -2 ) ) * CFrame.Angles(0,35,0)
Hedr0n
#182662115Saturday, January 30, 2016 6:18 AM GMT

Spec you don't know who I am because if my username but I know who you are. Didn't you move in with your grandparents or move to sweden or something crazy that's I'm sure is made up?
TechSpectrum
#182662183Saturday, January 30, 2016 6:21 AM GMT

...Hi?
Hedr0n
#182662214Saturday, January 30, 2016 6:22 AM GMT

Do you know who I am?
TechSpectrum
#182662295Saturday, January 30, 2016 6:25 AM GMT

No, and I don't quite understand what you're trying to do or say...
larr1212
#182662504Saturday, January 30, 2016 6:33 AM GMT

You want an object to always be in front of the camera?
TechSpectrum
#182662688Saturday, January 30, 2016 6:41 AM GMT

You can put it that way, specifically I to make an object that is welded to the player rotate to always face the cameras rotation along ONLY it's Y rotation axis.

    of     1