Camera position as Zero(), no rendering

Hello everyone.
The exciting Babylon.js 4.2 provides a lot of new features! Praise everyone.

Here I got a little problem.
Use transformNode as the father of the camera. Adjusting the camera by modifying the parent is correctly rendering in most cases. But when the camera is positioned as Zero() , there is no rendering.

There is a example:
https://playground.babylonjs.com/#DWPQ9R#64

Hey and welcome!
this is because in that case the camera will be at 0,0,0 and target 0,0,0 so it is impossible :smiley:

1 Like

Got it. Thanks.
I think I only need to convert the target location from world space to local space. As described by getTarget. :wink:

1 Like