mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Tweaked lantern offsets
This commit is contained in:
parent
fcd25648fe
commit
53574bb6ec
@ -5,7 +5,7 @@
|
||||
),
|
||||
map: {
|
||||
"Green0": (
|
||||
vox_spec: ("lantern.green-0", (-2.0, -2.0, -7.0)),
|
||||
vox_spec: ("lantern.green-0", (-2.5, -2.0, -9.0)),
|
||||
color: None
|
||||
),
|
||||
"Magic": (
|
||||
@ -13,7 +13,7 @@
|
||||
color: None
|
||||
),
|
||||
"Black0": (
|
||||
vox_spec: ("lantern.black-0", (-2.0, -2.0, -8.5)),
|
||||
vox_spec: ("lantern.black-0", (-2.5, -2.0, -8.5)),
|
||||
color: None
|
||||
),
|
||||
"Red0": (
|
||||
@ -21,7 +21,7 @@
|
||||
color: None
|
||||
),
|
||||
"Blue0": (
|
||||
vox_spec: ("lantern.blue-0", (-2.0, -2.0, -7.0)),
|
||||
vox_spec: ("lantern.blue-0", (-2.5, -2.0, -8.0)),
|
||||
color: None
|
||||
),
|
||||
"GeodePurp": (
|
||||
@ -29,11 +29,11 @@
|
||||
color: None
|
||||
),
|
||||
"PumpkinLantern": (
|
||||
vox_spec: ("lantern.pumpkin", (-3.5, -4.0, -8.5)),
|
||||
vox_spec: ("lantern.pumpkin", (-4.0, -4.0, -8.5)),
|
||||
color: None
|
||||
),
|
||||
"PolarisLantern": (
|
||||
vox_spec: ("lantern.polaris", (-3.0, -4.0, -9.5)),
|
||||
vox_spec: ("lantern.polaris", (-3.5, -4.0, -8.5)),
|
||||
color: None
|
||||
),
|
||||
},
|
||||
|
@ -145,7 +145,7 @@ impl Skeleton for CharacterSkeleton {
|
||||
make_bone(control_mat * hand_l_mat * Mat4::<f32>::from(self.hold)),
|
||||
];
|
||||
Offsets {
|
||||
lantern: Some((lantern_mat * Vec4::new(0.0, 0.0, -4.0, 1.0)).xyz()),
|
||||
lantern: Some((lantern_mat * Vec4::new(0.0, 0.5, -6.0, 1.0)).xyz()),
|
||||
// TODO: see quadruped_medium for how to animate this
|
||||
mount_bone: Transform {
|
||||
position: common::comp::Body::Humanoid(body)
|
||||
|
Loading…
Reference in New Issue
Block a user