Jump to content

[SOLVED] PlayerPersecutor rotation


photo

Recommended Posts

Posted

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.

Posted

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.

  • 1 year later...
Posted

Hello,

 

How can I attach  PlayerPersecutor to that dummy node ?

 

Thank you..

  • 4 years later...
Posted

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.

×
×
  • Create New...