Jump to content

Turn camera around Y axis


photo

Recommended Posts

Hello,

I'm using aircrafts and I have the possibility to put my PlayerSpectator in their cockpit to have a first person view (I put the camera as a child of a Dummy placed in the Cockpit). When the Aircraft is turning on Y axis, the camera doesn't move and stay parallel to the horizon. Is there a way to turn the camera on this axis? I tried to use setUp() but I wonder if there is a more efficient way than always updating is Up direction.

Thanks,
Pierre

Link to comment

Hello! 
This is a functional limitation of the PlayerSpectator. You can use this workaround with updating the up vector every frame or use PlayerDummy and write your own logic for player movement.

  • Thanks 1
Link to comment
×
×
  • Create New...