Skip to content

Commit

Permalink
頭ブロックのヘイローの向きを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Gakuto1112 committed Dec 7, 2024
1 parent c29d5b6 commit f789bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/avatar_modules/head_model_generator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ HeadModelGenerator = {
models["script_"..self.parentName]:addChild(copiedPart)
models["script_"..self.parentName].Head:setParentType(self.parentType)
models["script_"..self.parentName].Head:setPos(0, -24, 0)
models["script_"..self.parentName].Head.HeadRing:setRot()
models["script_"..self.parentName].Head.HeadRing:setRot(self.parent.headRing.initialHaloRot)
models["script_"..self.parentName].Head.HeadRing:setLight(15)
for _, modelPart in ipairs({models["script_"..self.parentName].Head.FaceParts.Eyes.EyeRight, models["script_"..self.parentName].Head.FaceParts.Eyes.EyeLeft}) do
modelPart:setUVPixels()
Expand Down
2 changes: 1 addition & 1 deletion scripts/avatar_modules/head_ring.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---@class (exact) HeadRing : AvatarModule ヘイロー(頭の輪っか)を制御するクラス
---@field package initialHaloRot number ヘイローの初期角度
---@field public initialHaloRot number ヘイローの初期角度
---@field package headRotData number[] 一定期間内の頭の角度を保持するテーブル
---@field package headRotAverage number[] 頭の角度の移動平均値
---@field package floatCount integer ヘイローが上下するアニメーションのカウンター
Expand Down

0 comments on commit f789bec

Please sign in to comment.