Zum Hauptinhalt springen

bettermodel_bone_camera_cinematic

Attach the cinematic camera to a bone of a BetterModel — cinematic entry.

Entry Information

PropertyValue
Entry IDbettermodel_bone_camera_cinematic
TypeCinematic
ColorCyan
Iconfa6-solid:video

Fields

FieldTypeDescription
segmentsList<BoneCameraSegment>At least two segments in the editor. Each segment selects the model source and camera bone for its frame range.

BoneCameraSegment

FieldTypeDescription
startFrame / endFrameIntInclusive frame range for the segment.
entityCinematicRef<BetterModelEntityCinematicEntry>Animated model source. Takes priority over instance.
instanceRef<BetterModelInstance>Placed BetterModel instance used when no entity cinematic is set.
boneNameVar<String>Bone carrying the camera.
offsetVectorLocal offset from the bone: X right, Y up, Z forward.
orientationBoneCameraOrientationControls the camera facing.

BoneCameraOrientation

FieldTypeDescription
modeFOLLOW_BONE, LOOK_AT_BONE, LOOK_AT_POSITION, FIXEDFollow the bone, look at another bone/model root, look at a world position, or keep fixed angles.
forwardAxisBoneForwardAxisBone axis considered forward. NEGATIVE_Z matches the usual Blockbench orientation.
lookAtBoneVar<String>Target bone for LOOK_AT_BONE; empty targets the model root.
lookAtPositionVar<Position>World target for LOOK_AT_POSITION.
yaw / pitchDoubleFixed yaw and pitch used by FIXED.
yawOffset / pitchOffsetDoubleAdditional rotation applied after the selected orientation mode.

Usage Example

- entry: bettermodel_bone_camera_cinematic
name: "Attach the cinematic camera to a bone of a BetterModel"
segments:
- startFrame: 0
endFrame: 120
entityCinematic: dragon_cinematic
boneName: camera
offset: { x: 0.0, y: 0.0, z: 0.0 }
orientation:
mode: FOLLOW_BONE
forwardAxis: NEGATIVE_Z

The entity cinematic source always wins over a placed instance. This keeps the camera attached to the model being animated instead of another entity that happens to use the same BetterModel id. If the model or bone is temporarily not visible to the player, the camera holds its last valid position until it can resolve again.