[SOLVED] PlayerPersecutor rotation


photo

Recommended Posts

Hi.

I have a third-person character made by PlayerPersecutor. When target node moves in world my camera turns for it and changes distance.

setFixed function freezes angle in parent coordinate system.

How do i can freeze Phi angle of Player in world coordinates?

Thank you.

Link to post

Hello Igor,

 

Sorry for late reply, our bears need some care too. ;)

 

So the basic idea is to write simple orbit camera logic in UnigineScript instead of using fixed PlayerPersecutor, just a few sin/cos operations and you can control it as you want. Another idea is to add NodeDummy to your world and attach PlayerPersecutor to that dummy node. Then you just need to place dummy node to your target's position.

Link to post
  • 1 year later...

Hello,

 

How can I attach  PlayerPersecutor to that dummy node ?

 

Thank you..

Link to post

Hi Nihal,

 

You can use Unigine Editor and with Alt + Mouse left button set Persecutor player as a Child to required node (in your case NodeDummy) in Nodes window.

 

Thanks!

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

Link to post
  • 4 years later...

Boa tarde pessoal,
sou novo neste programa e já o usei para fazer design de interiores, e gostaria de criar uma animação com essa câmera de busca, se alguém puder me ajudar, serei grato.

Link to post