Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
As you know every game requires a cutscene to let players know what's going in the game. So Better cutscenes often look at one object/point and then on another. So I need to do so but I cannot understand how to do so. And as always: Any help will be appreciated
|
||||
|
Why don't you use switch camera action and use another camera.. Following a path or flying in circle or line...?? And after the cutscene just switch back to fps camera... Easy isn't it... I had posted an example for cutscene years ago...had used the same trick and it worked like a charm... You can crawl the forum for that example demo file... |
||||
|
I didn't need that ccb. I already created a cutscene myself but I am asking how to change the target of camera. You need to just say "Yes" if possible and how and if not possible say "No". I don't need your alternative method and that ccb. |
||||
|
Yes, its possible you can use ccbsetscenenodeproperty and use Target as property...for example
here (x,y,z) is the value for the position you want your camera target to move... |
||||
|
Hmm. Ok it will move with animation??? |
||||
|
I see what he is asking - how do we essentially pan, dolly and rotate the camera along a path as it moves? Like in real life - a camera on tracks. But show it actually move - not static. I believe that is what the OP is asking. Mike |
||||
|
If it is so, then i am not the right person to answer these questions. |
||||
|
It didn't worked... You can check out the ccb: https://drive.google.com/open?id... Please help me.... |
||||
|
you have use wrong camera node to set target for.... just change your code to this var s = ccbGetSceneNodeFromName("Camera2"); and then it will work fine... you have used "Camera1" while your fps camera name is "Camera2" hope you understand. |
||||
|
Oh sorry sorry... I just noticed it when creating that ccb but just right before previewing, I forgot to set that... Sorry... |
||||
|
Wait Let me Try... |
||||
|
Thanks man! But I need the camera to look to another direction with animation. I mean that "Change Position of a scene node" action contains a check box saying "Move animated", I mean with that animation... Hope you understood my strange understanding And I hope you will answer me soon. |
|