Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helmet cam #568

Open
Juujuu opened this issue Oct 9, 2024 · 0 comments
Open

Helmet cam #568

Juujuu opened this issue Oct 9, 2024 · 0 comments

Comments

@Juujuu
Copy link
Contributor

Juujuu commented Oct 9, 2024

Helmet cam added to spectator. Some work already done for "correct" camera angle back in 2021. Used the largest helmet and put the camera outside of it. No idea what I used lost to time. Would need tweaked probably.

_eyeDir = eyeDirection player;
_cam setVectorDir _eyeDir;
_cam cameraEffect ["Internal", "Back"]; 
_cam camSetFov 1.2;
_cam attachTo [player, [0.12,0,0.15], "Head", true];
_cam camCommit 0;```

Image https://cdn.discordapp.com/attachments/585642663202783236/925972030485037106/unknown.png?ex=6706b267&is=670560e7&hm=4d314a18973f9ab26bfff5509b1c42dcd6c05873e0ceb09800ea0ca81c823825&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants