#Cant Change Z Orientation Angle with Code

2 messages · Page 1 of 1 (latest)

silver kraken
#

Im trying to rotate a constraint on the Z axis with code as its a car game and making it so it can be changed by code will make everything 1000x easier,
Ive been able to rotate any other object but the specific constraint, a constraint0 of a prismaticconstraint refuses to, i've thought about making some sort of pre-loader thing for it where it only creates the prismatic constraint after it has loaded the rotation of the constraint0 but i normally code java and python and this is not my expertise for lua,

Note: Even tho I do have that number before tune.fCamber, it doesnt change anything I even set the = to 30, please help

tune.fCamber = 30

frontLeft.SpringBottom.prismaticConstraint0.WorldCFrame.Orientation.Z = 75.964 + tune.fCamber
cinder bobcat
#

try this