- C# 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| SmileForTheCamera | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| SmileForTheCamera.sln | ||
SmileForTheCamera
A ResoniteModLoader mod for Resonite that makes LookAtUser components (such as user nameplates) look at the camera instead of the local user when taking a picture.
Installation
- Locate your Resonite install folder, for example from the Steam Library > right click on Resonite > Manage > Browse local files.
- In your Resonite install folder, enter the
rml_modssubfolder. It should already exist if you installed RML properly. - Download SmileForTheCamera.dll and place it in the
rml_modsfolder.
Features
Affected objects
The basic concept of the mod is to locally override the coordinates of LookAtUser components to make them look at a specific camera’s position rather than the local user.
This only applies to LookAtUser components which:
- Are setup to look at the local user (
TargetAtLocalUseris enabled) - Are aiming at the user’s View (not their Head or Root)
These conditions are met by the default nameplates, and most custom ones as well (from my experience).
Photos
The mod affects photos taken using the default Resonite Essentials cameras, as well as any camera using the InteractiveCamera component.
It works by temporarily orienting the LookAtUser components towards the camera for just a frame or two, the time it takes for the picture to be rendered.
About generic Cameras
A limitation of the mod is that it does not work on cameras using the more generic Camera component.
This means that some custom-made camera systems may not be affected by the mod.
This is purposefully kept out of the scope of this mod. Trying to affect these more generic cameras might also interfere with some advanced rendering systems used by some worlds and some objects to achieve complex visual effects.
Quick photos
The mod also affects quick photos. In VR, they are the photos taken using a hand gesture, commonly known as "finger photos". In Desktop, they are the photos taken by pressing Shift+P or Ctrl+P.
The LookAtUser components will stary oriented towards the quick photo camera as long as the preview window is active.
Quick photos have lower priority than interactive camera photos: if a picture is taken with a camera while a quick photo preview window is active, the nameplates will temporarily be overriden to look at the interactive one for the few frames it takes to render.
Streaming camera
Finally, the mod also affects the local user’s Streaming camera.
The LookAtUser components will stary oriented towards the streaming camera as long as it is active, i.e. the streaming panel is open or the camera is being mirrorred to desktop.
The Streaming camera has lower priority than both quick photos and interactive camera photos. It is only being targeted if no other target of higher priority is active.
MIT License
Copyright (C) 2026 Baplar - https://forge.moldy.gift/Baplar/Resonite.SmileForTheCamera
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.