Outerra forum

Anteworld - Outerra Game => Tech demo, support, updates => Topic started by: murkz on April 30, 2013, 02:37:09 am

Title: Camera question
Post by: murkz on April 30, 2013, 02:37:09 am
Hi Outerrans,

Is it possible to add more cameras?

I was thinking for the tanks, where we can switch between driver, commander, radio operator, loader etc...

Jeff
Title: Re: Camera question
Post by: angrypig on April 30, 2013, 06:37:30 am
It's possible but such functionality isn't available in the API now. My proposal is to attach the camera to a bone. It means you can create a dummy object in MAX/Blender orient it to initial position/rotation and then mark it as bone in importer. Then in the script you will be able to call this.add_camera_attach_point("bone name", ...);
Title: Re: Camera question
Post by: deathevor on April 30, 2013, 10:33:47 am
Just was thinking to ask about the same question :)

One thing to mention - it wouldbe good if the camera rotation angle (orientation properties) can be specified (Locked, Unlocked, Limited + degrees)

Title: Re: Camera question
Post by: angrypig on April 30, 2013, 10:40:34 am
that those camera constraints are hidden in the "..." :)
Title: Re: Camera question
Post by: ZeosPantera on April 30, 2013, 01:14:25 pm
I always imagined camera's could be set in game and saved. Go into UFO mode around a set vehicle, adjust the FOV and positioning and press a key combo.
Title: Re: Camera question
Post by: necro on April 30, 2013, 01:36:43 pm
A bone constrained individual camera is an awesome idea.

But first off all, fixing the wingman cam would also be nice :D :Þ
Title: Re: Camera question
Post by: deathevor on April 30, 2013, 03:16:08 pm
that those camera constraints are hidden in the "..." :)

Lost a bit...

Code: [Select]
//Add camera
  this.set_fps_camera_pos({x:0,y:3.5,z:2.45});
?