Animation system mostly done
This commit is contained in:
+1
-1
@@ -595,7 +595,7 @@ const clip_channel = z.array(clip_keyframe).min(1).refine(
|
||||
);
|
||||
|
||||
// an entity model animation (one of those in animations/<name>.animation.json) with only what the engine uses, see
|
||||
// ANIMATION.md. values are as bedrock has them, mirrored on x from the engine's like models: rotation in degrees,
|
||||
// docs/modding/entities/index.md#clips. values are as bedrock has them, mirrored on x from the engine's like models: rotation in degrees,
|
||||
// added to a bone's own, position in pixels, and scale multiplying
|
||||
const clip_schema = z.object({
|
||||
id: z.string('must be a clip id like "my_mod:thing/walk"').regex(TAG_ID_PATTERN),
|
||||
|
||||
Reference in New Issue
Block a user