Easiest way to offset a parts orientation if it's already rotating

I’m trying to orient some parts within a model depending on the players keyboard inputs, the problem is I can’t seem to figure out how to keep the orientation of said parts correct.

[Correct would be + or - 22.5 Degree (depending on input)]

because the model is always changing rotation, I tried looking for an Orientation Offset property of sorts but I was unable to find one. What would be the easiest way to offset the Orientation of some parts within a model that’s already potentially rotating?

Thanks in advance questions and answers would be greatly appreciated.

Try this:

Object.CFrame=Object.CFrame+CFrame.Angles(0,22.5,0)

Hope this helps.

1 Like

Angles is not a valid member of CFrame ???

Huh??

part.CFrame = part.CFrame * CFrame.Angles(15,0,0)

i tried this it works