#CFrame related issue

1 messages · Page 1 of 1 (latest)

ember plaza
#
#

id be so so so grateful if anybody helps

copper onyx
#

yea ur using the hand as the origin u should base the rotation on the clock not the hand

ember plaza
copper onyx
#

I ahvent worked with cframes ina bit so I forget the correct synta but:

local EndValue = _Random:NextInteger(0, 11)
local FinalCFrame = CFrame.new(Hand.Position) * CFrame.Angles(
math.rad(EndValue * 30),
math.rad(-90),
0
)

    ClockModule.RotateHand(Hand, FinalCFrame) try changing it from Hand.Position to ur clock model cause right now ur turning base on the clock hand not the clock itself
#

its def a rotation origin issue tho I think its cause u rotating it based on the positon not its orientation

ember plaza