playMaker

Author Topic: [partly solved]How to store camera positions?  (Read 4504 times)

fis

  • Playmaker Newbie
  • *
  • Posts: 12
[partly solved]How to store camera positions?
« on: April 15, 2011, 09:56:15 AM »
Is it possible to make the next functionality:
 - to save the camera positions/viewpoints to the list with ability to add/delete and rename them
 - to save/load the list to/from the external file ?
It would be very useful for the testing the scene, more convenient than simple screenshots.
Please take a look at the video to understand what I mean:
« Last Edit: May 05, 2011, 09:14:07 AM by fis »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: How to store camera positions?
« Reply #1 on: April 15, 2011, 03:50:13 PM »
It seems like you can do most of that in the Unity scene editor already... just set up the cameras and save them with the scene. Or are you looking for a runtime control panel to switch between cameras? It wouldn't surprise me if someone in the Unity community hasn't made that already...

fis

  • Playmaker Newbie
  • *
  • Posts: 12
Re: How to store camera positions?
« Reply #2 on: April 16, 2011, 05:52:04 AM »
Maybe someone already did this using scripting but I wonder if it's possible to make with Playmaker. And Yes,  I want a runtime control panel to switch between camera positions,  but not cameras. Camera should fly from one position to another when I select this position stored before position in the list.
« Last Edit: April 16, 2011, 10:40:00 AM by fis »

fis

  • Playmaker Newbie
  • *
  • Posts: 12
Re: How to store camera positions?
« Reply #3 on: April 29, 2011, 11:36:02 AM »
This is what I have managed to create for this moment:
http://www.fisart3d.com/UnityExamples/ViewpointsSystem/VP0.1.html
and source (require playmaker installed ;)):
http://www.fisart3d.com/UnityExamples/ViewpointsSystem/ViewpointsList_V0.1.unitypackage.
I don't like the way it works. If anybody have an idea how to store viewpoints and fix camera movement more closer to the way in the video above you are welcome.

fis

  • Playmaker Newbie
  • *
  • Posts: 12
How to store camera positions?
« Reply #4 on: May 05, 2011, 09:13:20 AM »
I will continue to share my research results in the next topic:
http://hutonggames.com/playmakerforum/index.php?topic=122.0