Parent object to camera - simple 3rd person camera [SOLVED]


So I’m trying to figure out how to rotate my object with ArcRotateCamera - like a very simple 3rd person camera. So after I parent my obect to camera, the object dissapears. At first I thought it might while parenting inherit the transform, thus ending up too close to camera to render. However when I console.log the position of the object - it’s right there in the origin, but it’s not rendered.

So I’m a bit confused… Here’s the simple code:

Ok, right after I posted this I noticed there is this method which works!


Btw, here’s my solution. At first parenting seemed like a good thing, but dealing with matrices later might give you a headache. So you can do it just like this: