I tried
nodename.set_angular_limit_x(false)
but that was wrong. Info on help is a little unclear -
I tried
nodename.set_angular_limit_x(false)
but that was wrong. Info on help is a little unclear -
nodename.angular_limit_x=false
Actually, I think it's
angular_limit_x.enabled = false
Still no luck with either approach, with cyberealitys approach i get:
Invalid get index 'angular_limit_x' (on base: 'Generic6DOFJoint').
my relevant bits of code are:
onready var joint = $Head/Camera/Generic6DOFJoint
joint.angular_limit_x.enabled = false
Sorry, you do it like this. The documentation is not clear.
var joint6 = Generic6DOFJoint.new()
joint6.set_flag_x(Generic6DOFJoint.FLAG_ENABLE_ANGULAR_LIMIT, false)
cybereality Thanks, that got me further, the documentation is definitely lacking for this stuff so I REALLY appreciate your help !!!