This is a simple plugin to generate the best possible camera location around one or two person atoms dynamically. This takes into account the room/environment and tries to minimize obstructions.
Upon detecting a new random camera location, the plugin has added functionality to smoothly move to new location avoiding collisions.
Wow that video quality came out to be bad. Look at those fonts! Anyway,
Usage:
Simply add the plugin to an empty atom. Select the target person atom or two person atoms. Set the minimum and maximum camera distance. If you click calculate point, it will calculate one random point where the maximum amount of target person atoms is visible.
You can also activate the timer, which computes new random points automatically every x seconds.
Smooth Camera movement means once a new point is calculated, the camera will attempt to move to the new point smoothly. This movement takes care of collisions and makes sure it does not collide with anything. So the chances of going inside the bodies of the person atoms or environment is less.
Just add an embody plugin on the same atom and view as passenger to get a dynamic camera.
Note: This is not 100% accurate. It does occasionally produce a viewpoint location that is obstructed upon my testing. But it mostly works!
If in smooth camera mode camera gets stuck behind wall, uncheck smooth camera mode temporarily to make it teleport to a good location. Then you can tick smooth camera mode again.
Where to point camera at is computed every second in real time. Rotation speed is how fast must the camera rotate to reach that target angle. The sample points is how many points must it try in each calculation for an unobstructed view. More means more calculations. Collision buffer is during transition movement how big the camera is. Sometimes colliders arent big enough, so increasing this value means more collisions are avoided.
Upon detecting a new random camera location, the plugin has added functionality to smoothly move to new location avoiding collisions.
Wow that video quality came out to be bad. Look at those fonts! Anyway,
Usage:
Simply add the plugin to an empty atom. Select the target person atom or two person atoms. Set the minimum and maximum camera distance. If you click calculate point, it will calculate one random point where the maximum amount of target person atoms is visible.
You can also activate the timer, which computes new random points automatically every x seconds.
Smooth Camera movement means once a new point is calculated, the camera will attempt to move to the new point smoothly. This movement takes care of collisions and makes sure it does not collide with anything. So the chances of going inside the bodies of the person atoms or environment is less.
Just add an embody plugin on the same atom and view as passenger to get a dynamic camera.
Note: This is not 100% accurate. It does occasionally produce a viewpoint location that is obstructed upon my testing. But it mostly works!
If in smooth camera mode camera gets stuck behind wall, uncheck smooth camera mode temporarily to make it teleport to a good location. Then you can tick smooth camera mode again.
Where to point camera at is computed every second in real time. Rotation speed is how fast must the camera rotate to reach that target angle. The sample points is how many points must it try in each calculation for an unobstructed view. More means more calculations. Collision buffer is during transition movement how big the camera is. Sometimes colliders arent big enough, so increasing this value means more collisions are avoided.