• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
AutoCamera

Plugins + Scripts AutoCamera

Download [<1 MB]
For some reason my Auto Cams are not rotating much at all to find good viewing angles. They'll pan and transverse the space just fine but like for example it'll pick a point to the front left of the girl from center front view, but keep looking straight ahead so that you barely see her right shoulder on the edge of the frame if that makes sense.
Can you give me a few more details so I can narrow down what is happening?
1.Does this only happen in smooth camera mode? When it immediately teleports to a new point, does it correctly point at the human atom?
2.In which mode are you facing this issue?
3.Did you try switching from ingame to realtime timer in the options below and still see this issue?
4.What is your normal in game fps?
5.Can you try the plugin in an empty scene with just a person atom and see whether it works?

I have attached a modified version, with the rotation speed uncapped. Can you see whether it solves the issue?
To use this, put this plugin file, in your Custom/Scripts folder. Then when you click on add plugin on vam, this should show on the right.
 

Attachments

  • AutoCamera.cs
    147 KB · Views: 0
Can you give me a few more details so I can narrow down what is happening?
1.Does this only happen in smooth camera mode? When it immediately teleports to a new point, does it correctly point at the human atom?
2.In which mode are you facing this issue?
3.Did you try switching from ingame to realtime timer in the options below and still see this issue?
4.What is your normal in game fps?
5.Can you try the plugin in an empty scene with just a person atom and see whether it works?

I have attached a modified version, with the rotation speed uncapped. Can you see whether it solves the issue?
To use this, put this plugin file, in your Custom/Scripts folder. Then when you click on add plugin on vam, this should show on the right.
Been using smooth camera, but idk it feels better even on the official plugin now, though the rotation still feels like it lags until after it finishes panning to the final way point and then finishes its rotation after. Maybe it's just my system was being slow or something earlier because it does get more accurate on this test without any real changes.
 
Been using smooth camera, but idk it feels better even on the official plugin now, though the rotation still feels like it lags until after it finishes panning to the final way point and then finishes its rotation after. Maybe it's just my system was being slow or something earlier because it does get more accurate on this test without any real changes.
You were right. The rotation logic was too convoluted and was not working properly. Have fixed it in a new update, but it is queued for moderator approval. Meanwhile, here is the fixed file if you want it right now.
 

Attachments

  • AutoCamera.cs
    136.7 KB · Views: 0
Super useful plugin, thank you!
I have an issue though. After recording with Timeline and viewing in playback, there are these weird in between frames on almost every camera transition.
Using smoothing function in Timeline helps a bit, but I had to edit my video in Premiere with fade out/in effects because it would look strange when the camera switches positions over the model.

Is there a setting which can fix this?
 
Super useful plugin, thank you!
I have an issue though. After recording with Timeline and viewing in playback, there are these weird in between frames on almost every camera transition.
Using smoothing function in Timeline helps a bit, but I had to edit my video in Premiere with fade out/in effects because it would look strange when the camera switches positions over the model.

Is there a setting which can fix this?
Assuming you are not using "Smooth Camera movement" in this plugin, the code simply changes the position of the containing atom. So it should be instant. It should not produce in between frames. Make sure the physics in the camera atom is turned off.

What you are experiencing is probably Timeline itself producing in between frames because it is designed for smooth interpolation. So if you record one position at 1 second and another position at 4 seconds, it will move the atom to in between positions at seconds 2 and 3.

If this is the issue, then after recording, you can simply go to "More..." at the top right in Timeline, then "Bulk Changes" and then select "Constant" in the change curve drop down menu. This should change all the keyframes to constant, which would prevent this smoothing behavior. You can check the curve type once you select a frame. I think you want it to be "Constant" rather than "Smooth (Local)" which it is by default. You can try other curves if I am mistaken.

Of course there could be some problem with the code. This is my first plugin and I didnt even know C# before this. So the entire code is held together by duct tape. Maybe I will get around to simplifying the code, fixing bugs etc at some point. If the issue is still not fixed, maybe you could provide more info and I could try and help.
 
Back
Top Bottom