About Store Forum Documentation Contact
Donations:
227$/mo



Post Reply 
a camera object in the World Editor
Author Message
Panerox Offline
Member

Post: #1
a camera object in the World Editor
Hi Grzegorz!

I understand, I can create a static object and adjust it. But I want that there was a special object for the camera. The camera object could set a direction, a position and other parametres.
That it was possible to receive parametres of this camera at loading of the world and to use them at adjustment of the game camera.
12-14-2009 09:12 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: a camera object in the World Editor
Hi,

You don't need to use static object, you can edit obj_type.h enum and add OBJ_CAMERA to it
12-14-2009 09:26 PM
Find all posts by this user Quote this message in a reply
Panerox Offline
Member

Post: #3
RE: a camera object in the World Editor
I know this smile. I have created objects across obj_type.h, but i mean the special object for the camera.
I need to change the camera direction visually. And I can specify only a direction by means of Vec, and then check in game. I wish to see where the camera in the editor will look.

All the same thanks, if my feature not such necessarysmile
12-15-2009 09:33 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: a camera object in the World Editor
you can specify direction using object rotation (you have blue arrow for matrix.Z) you can use that.
12-15-2009 05:20 PM
Find all posts by this user Quote this message in a reply
Post Reply