Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I print the Rotational Axis of a joint and not just its entire CFrame?

Asked by 6 years ago

So for Joint Scripting like doors I have had to use Roblox's Animation Plugin to Position the Door and print the Joint's CFrame which is just Garbled up and i can't understand it

i do this like

Image a Joint that is already Present in Basepart and its connected to a door, i can print the C1 with Roblox's Animation Plugin but i just want to rotational axis to animate the rotation alone.

local Joint = workspace.Basepart.Joint
    print(Joint.C1)

Which i can then lerp within a script to rotate and position it, but i just want the rotations so i can use them with CFrame.Angles

Any method? i haven't found any ever since :/

0
this isn't easy as rotation in cframes isn't a vector3 User#20388 0 — 6y

Answer this question