Motor6D transform isn't working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

Just wanna change the motor6d transform property for the rightshoulder, I’m new to using motor6ds but I am very confident with welds/weldconstraints so it was easy to learn however the transform property is just being weird.

  1. What is the issue? Include screenshots / videos if possible!

It just aint changing, I understand that motor6d transform doesn’t happen instantly like C0 or C1. But, I even put this in a renderstepped event and it still doesn’t transform.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

Yep, originally I figured out that you need to use a renderstepped event/loop to change the transform property as it doesn’t happen instantly. Didn’t work with renderstepped, so I tried using a while true do loop instead, doesn’t work either though.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local char = script.Parent -- This is a local script in startercharscripts, cuz
-- I was just testing how to use motor6ds today, just wanted to write the code fast.

while true do -- Yeah I don't recommend doing this just testing yk?
	char.RightUpperArm.RightShoulder.Transform = char.RightUpperArm.RightShoulder.Transform * CFrame.Angles(math.rad(90),0,0)
	task.wait()
end

Any help is much appreciated.

local char = script.Parent -- This is a local script in startercharscripts, cuz
-- I was just testing how to use motor6ds today, just wanted to write the code fast.

while true do -- Yeah I don't recommend doing this just testing yk?
	char.RightUpperArm.RightShoulder.Transform = char.RightUpperArm.RightShoulder.Transform * CFrame.Angles(math.rad(90),0,0)
	game["Run Service"].PreSimulation:Wait()
end

image

1 Like

It worked but, still doesn’t make sense to me since. When I was testing how to use motor6ds on a random part for example, transform worked on the server instantly and I didn’t have to use any sort of loop events or what not. Yet the documentation says it doesn’t happen instantly like C0 or C1.

Animations modify the .Transform each frame therefore for characters you have to use .Stepped to overwrite the animations.

Oh because roblox default animations are on the characters? Whereas the default parts have no animations?

Yep consider reading task scheduler for more info

Yeah it’s helpful couldn’t understand all of it though, the documentation can only get you so far.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.