Space Engineers

Space Engineers

3,170 ratings
Camera Panning - rotate camera view (+reset 1st person character view)
6
3
15
8
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
Updated
76.528 KB
25 Nov, 2016 @ 4:51pm
5 Dec, 2023 @ 1:17pm
14 Change Notes ( view )

Subscribe to download
Camera Panning - rotate camera view (+reset 1st person character view)

In 1 collection by Digi
Digi's Space Engineers mods
46 items
Description
This mod enables players to change the direction camera while viewing it.
Works for any camera block, modded or vanilla.

How to use in game
When you view a camera the mod will tell you the controls as a HUD notification.

Simply hold the LookAround key (default: LeftAlt) and move your mouse/arrow keys/gamepad right stick to rotate the view (pitch and yaw).

You can also swap the yaw control with the roll control by holding the Sprint key (default: Shift), very useful for ceiling mounted cameras as shown in the video.

To reset the view back to centered press the Change Camera View key (default: V).


Pitch and yaw angle limits are determined by the camera's raycast angle limit (which is default to 45 which means -45 to 45). Roll has no limit.

The view speed limit is also intentional to give a servo motor feel.

Different people on the same camera can look in their individual directions because the view is not synchronized.


Other effects
This mod also changes:
- The max FOV on the vanilla cameras to 100 degrees (because 60 was simply too low), this does not affect mod-added camera blocks. However it is fully compatible with mods that change things on the vanilla cameras (except of course the max FOV).
- Fixes the position of the camera being in the center of the block rather than close to the camera model itself. This affects all non-modded cameras that do not have a ModelOffset set to them (because that also moves the camera view).
- Camera key resets first person view orientation on characters if 3rd person is disabled.


Side notes
I've not used the vanilla roll controls (default Q/E) for rolling the view for 2 reasons:
- Alt+Q/E still operates gyroscopes and I can't stop that.
- It can get more confusing than it is now.


Known issues
- (PB scripts) When the host rotates a camera, the camera raycast will be rotated along with it until they leave the camera view; this does not affect DS since DS can't view cameras.


mod io?
Please read[gist.github.com]
Popular Discussions View All (4)
3
6 Aug, 2024 @ 2:22pm
Bug reports
[ORG] Gears
0
15 Aug, 2022 @ 8:05pm
really want on xbox, pls help
YeetMasta
0
16 Mar, 2022 @ 1:36pm
Impossible de faire fonctionner le mod
[CDDN] DracusWhite
325 Comments
Digi  [author] 24 Jan @ 7:30pm 
@Agearten
To remove mods you must remove them from the world, sub/unsub is only for mods to appear in the list in world settings, it doesn't dictate if the mod is used or not, worlds do that.

Also not sure how this has anything to do with turrets, but if you want me to look into the issue I'd like the world (you can publish it on steam as hidden and DM me the link for example).

@Caazego
This works by rotating the block itself which affects its visual model too, this is not noticeable on the camera as it's out of view but for turrets it would look strange =) and might have weird behaviors when host-player is doing it. This one would need to be done by Keen I'm afraid, and they've been asked to add a roll slider for cameras for a while now :/
Caazego 24 Jan @ 2:38pm 
Could this be modified to rotate turret views as well? Those mounted on the bottom side of a ship could be useful.
Agearten 24 Jan @ 12:59pm 
I couldnt uninstall this mod,he cause me soo many trouble,i literally cant use my turret because i install this mod,any idea how ican delete it please ?
🕊 Peace&Death ⚰ 24 Jan @ 8:20am 
But this mod working fine. He was not the cause of the conflict.
🕊 Peace&Death ⚰ 24 Jan @ 8:19am 
The Scope Framework mod turns out to cause errors with many other mods, and I do not know why. I manipulated the mod loader before each launch of the world, and the error disappeared again. I've noticed this with some other mods too.

I'll write to the creator of the mod if I'm not too lazy to sort out the logs ahahah
Digi  [author] 23 Jan @ 11:13pm 
@🕊 Peace&Death ⚰
From what you said on that mod's page I suspect you're talking about getting errors during loading so you can't load/join worlds anymore with this (or any of my other mods) yes?

That sounds like a mod has errors during *unload* of the previous world, preventing other mods from releasing events and file hooks... so when it tries to hook the file again in a different world, it fails.
You can exit game to temporarily remove this problem, but once you leave a world it'll happen again.

The file fail is a good early warning though. Look in the log for which mod has errors in unload and report that to them to fix (or at least to catch the errors).
🕊 Peace&Death ⚰ 23 Jan @ 8:51pm 
Crashing with ScopeFramework Mod
nyannokonekko 12 Apr, 2024 @ 6:27pm 
Wow, no longer needing a hinge and a rotor block for movement! This is a great mod I didn't know I needed until I stumbled across it!
Kaito 1 Mar, 2024 @ 4:42pm 
Actually, I think all it would take is being able to configure the "default" panning and rotation in custom data, as long as you could make it so V returns to what's configured. Is that even possible?
Kaito 29 Feb, 2024 @ 2:55am 
Hey Digi! Here's an idea for this mod. You know the new top-mounted cameras, right? Being able to roll the view is awesome for putting these cameras on the bottom or side of a ship. But then pressing V resets rotation. Having the camera panned to the centre is very useful for aiming.

There's two things I'd absolutely love:

1. Being able to reset pan without resetting rotation
2. Presetting rotation (and maybe panning) for blueprints, maybe via custom data or similar.

"Why don't you just mod the damn camera then???" Well, mainly because servers.