I am trying to add head and arm movement that rotate based on the camera. In order to do this I’d like to use the Transform property of the Head.Neck (R15 avatar).
However, it only seems to work whenever the character’s animator is deleted… Whenever I still have the animator object the .Transform property doesn’t seem to work/display at all. So, is there any way to make the Transform property of the Motor6D work alongside an animator?
Nvm found the issue. For those that have the same issue, apply your Transform changes with Stepped instead of PreRender or any other RunService thingamajig
I’d recommend reading the documentation of Motor6D.Transform in the Motor6D docs. Transform is overwritten every frame by an Animator.
I think what you want are the C0/C1 properties of Motor6D, which apply a constant offset to the parts from the joint.
Also, look on the devforum for rotating the upper body with the camera, I’ve seen good code for it somewhere. If you want to do it yourself, you’ll have to do some geometry.
Yeah don’t worry I figured it out. While it is indeed overwritten every frame by the Animator, if you change the Transform property just after the animator is changed (aka via .Stepped connection of RunService) then it works just fine. I appreciate your reply tho
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.