- Home /
Question by
Trild123787898 · Mar 22, 2019 at 08:03 PM ·
script.joints
how to write autoConfigureConnectedAnchor correctly
how to write autoConfigureConnectedAnchor correctly so that it can be disabled using the script?
Comment
I can't really understand your question. Are you using Unity joints? This field is publicly accessible, so if you have reference to the joint you can just do Joint.autoConfigureConnectedAnchor = false.
Yes, I have a link to the creation, and I need at this moment to disable this parameter
So do as I said in previous comment. Or just disable it in inspector if you can
Answer by vlsvkls · Jan 13, 2021 at 03:40 PM
My solution
theJoint = NewBlock.AddComponent(); theJoint.autoConfigureConnectedAnchor = false;