Adding a backward facing camera

Started by JBR, May 10, 2021, 00:19:56

Previous topic - Next topic

JBR

Hi,

Have a Camera and thought all I would need to do was point the BackCamera in the opposite direction with AlignToVector. But this messes up the joystick movement all over the place.

Any able to point me in the right direction? (no pun intended :-))

Jim

RemiD


PositionEntity(OtherCamera,entityx(Camera,true),entityy(Camera,true),entityz(Camera,true),true)
RotateEntity(OtherCamera,entitypitch(Camera,true),entityyaw(Camera,true),entityroll(Camera,true),true)
TurnEntity(OtherCamera,0,-180,0)
EntityParent(OtherCamera,Camera,true)

make sure that the parent (in this case 'Camera') is not scaled in any way

JBR