My first thought that this was a viewportframe, but I realize it can clip into other objects, so it surely isn’t. I have read How to make a model to be on a players screen? this post, but still can’t manage to figure out the way it is done on that top gyazo. Here’s what I have so far;https://gyazo.com/513464ed0c60263a782733f7bcf5daca (I tried to move it to the left a bit, but as you can still see, it doesn’t act like it did in the first gyazo (Even if it was rotated around, which I can’t figure out how to do. Any help would be appreciated.
local dom = workspace.DominusAureus
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
game.Workspace.CurrentCamera.Changed:Connect(function()
dom.CFrame = game.Workspace.CurrentCamera.CFrame + game.Workspace.CurrentCamera.CFrame.LookVector*4 + Vector3.new(4,0,0)
end)
My guess why this dominus is always on the same position is that you are using vector3. As i noticed when tested if you use vector3 for cframes it would be like on ‘same’ position. But instead you can do something like this:
Worked great to get the basic movement done, however I can’t manage to rotate it smoothly. I tried to set it’s rotation by code below, but so far doesn’t rotate. Any ideas?
You sure this works? I did this in the changed loop, but also tried RenderStepped, but the only rotation is when the game starts. Did you put it somewhere else?