Jump to content

[SOLVED] How to save Editor Camera position and rotation


photo

Recommended Posts

Hello !

 

When I load my world in Editor the camera is always situated somethere near point (0,0,0).

The most world objects are located about a 500-1000 meters away.

 

How can I save Camera transform (position and rotation) in Editor.

Link to comment

Hi Dmitry,

 

You can write custom plugin which would save camera position and direction into the config file (for example, by using configSet() / configGet() functions). Controls::set_direction() / Controls::set_position() will set editor camera position and direction.

 

In the new editor version we slightly redisigned cameras controls and it is possible to save camera position directly from the editor out of the box.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...