#Swaying and ToOrientation

1 messages · Page 1 of 1 (latest)

honest helm
#

Two separate questions.

  1. How does CFrame:ToOrientation() work. Does it literally just return the CFrame as values of X,Y and Z (eg 1,10,0 = X:1,Y:10,Z:0) or does it do some maths and calculate something

  2. I commonly see people using maths.sin(tick() * 10) * Num to make swaying effects and I want to know whether this is a thing i should just remember or if there is an actual reason behind it

frank scarabBOT
#

studio** You are now Level 5! **studio

honest helm
#

I can't currently test either of these right now btw^^ don't have access to Roblox studio

shadow coyote
honest helm
#

I think I get the sin one but does are rotation matrix euler angles just normal degrees

#

I'll search this nvm^