From eb9aa776b13fa1f07d7e3527e7f42f43d4d0f4d6 Mon Sep 17 00:00:00 2001 From: Kairav Date: Wed, 22 Jul 2026 19:32:53 +0530 Subject: [PATCH] fix : issue #435 : documentation contains wrong method name. documentation wrongfully contains `rigidBody->setAngularAxisFactor();` instead of `rigidBody->setAngularLockAxisFactor();`. The former is not a method, the latter is the correct method for that example --- documentation/UserDocumentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/UserDocumentation.md b/documentation/UserDocumentation.md index e88577b33..b40cb276c 100644 --- a/documentation/UserDocumentation.md +++ b/documentation/UserDocumentation.md @@ -808,7 +808,7 @@ by setting the lock factor to zero for this axis. ~~~.cpp // Disable rotation around the Y axis -rigidBody->setAngularAxisFactor(Vector3(1, 0, 1)); +rigidBody->setAngularLockAxisFactor(Vector3(1, 0, 1)); ~~~ ### Destroying a Rigid Body {#destroyingbody}