Component ConfigurableJoint. AngularXMotion, it costs Locked, I can’t understand why it does not want to install on Free? Code (CSharp): using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; public class mehanic : MonoBehaviour { public ConfigurableJoint confdet5; void Start() { confdet5 = gameObject.GetComponent<ConfigurableJoint>(); } void Update() { confdet5.angularYMotion = ConfigurableJointMotion.Free; } }
I don't understand a word of your question, but you seem to enquire about AngularXMotion, while your code references AngularYMotion.