I’m working on an egg hatching system, and I’m having trouble with keeping the egg always in front of the camera while also adding tweens for the hatch animations. How would I do so?
I’ve tried a few different methods, and some almost worked, but the egg ends up lagging behind or positioned weirdly.
W bro you are the real one for that
Makea function that moves egg regarding player’s camera to front
SO like
local camera = workspace.CurrentCamera
local offset = CFrame.new(5,0,0)
local function UpdateCamera():()
egg.CFrame=camera.CFrame*offset
end
RunService.PreRender:Connect(UpdateCamera)
UpdateCamera()
jokes aside…
Why the hell do you need a tween service when you work on a frame by frame operation?
CONSTRUCTING ENTIRE CLASS (INSTANCE) for that is insane bro
???
You dont understood the topic and already suggest this “Production based” bloatware bruh.
You update cframe each frame why do you need a crappy TweenService when you have such insane POWER!?
You understemate glorious RunService