StaticActiveDefines how the camera should behave when targeting a position or rotation.
ReadonlyFollow: 2Follows a target while maintaining a maximum distance
ReadonlyLock: 1Locks the camera to a specific position or rotation target
StaticOcclusionSpecifies which target's occlusion parameters should be modified.
ReadonlyAll: 1Apply occlusion parameters to both move and look targets
ReadonlyLookTarget: 3Apply occlusion parameters only to the look target
ReadonlyMoveTarget: 2Apply occlusion parameters only to the move target
StaticOcclusionDetermines how the camera reacts when occlusion is detected between the camera and its targets.
ReadonlyAvoid: 3Camera avoids the occluding object by shifting to the left or right
ReadonlyNone: 1No reaction to occlusion, camera behavior remains unchanged
ReadonlyPassthrough: 2Camera passes through the occluding object by moving just beyond the occlusion point
StaticGetRetrieves a previously created CMover instance associated with the specified camera.
Returns undefined if no CMover has been created for this camera via Wrap.
The camera whose CMover to retrieve
The CMover instance for this camera, or undefined if none exists
StaticWrapCreates and wraps a camera with a new CMover instance, storing it for later retrieval.
The created CMover is automatically registered and can be retrieved using GetMover.
The camera instance to wrap and control
OptionalocclusionChecking: booleanWhether to enable occlusion detection for this CMover
OptionalfilterCallback: (newPosition: Vector3, newRotation: CFrame) => LuaTuple<[Vector3, CFrame]>Optional callback to filter camera position and rotation each frame
The newly created CMover instance controlling the specified camera
A static wrapper class that manages multiple CMover instances, associating each with a specific camera. Provides convenient factory methods for creating and retrieving CMover instances tied to cameras.
See
CMover