csharp
public struct FollowBodyKeeps the camera at a fixed offset from what it follows.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The workhorse, and Cinemachine's Transposer. Everything it does is in Binding's frame: the offset is measured in it, and each damping time in Damping applies to one of its axes.
Fields and properties (3)
public Vector3 OffsetWhere the camera sits relative to the target, in Binding's axes.
public CameraBinding BindingWhich frame Offset and Damping are in.
public Vector3 DampingHow long the camera takes to remove 99 % of its error on each of the binding's axes.
Methods (1)
public static FollowBody Behind(float distance, float height, float damping = 0.5)A camera a set distance behind and above the target, swinging round as it turns.
Used by (8)
- CameraDirectorTestsVixen.Engine.Tests
- ComponentRegistrationVixen.Engine
- TypeRegistrationVixen.Engine
- VirtualCameraSystemVixen.Engine
- VirtualCameraTestsVixen.Engine.Tests
- VirtualCamerasVixen.Engine
- Vixen_Engine_Cameras_FollowBodySerializerVixen.Engine
- MaterialIconsVixen.Editor.App