Add getter/setter for mUserData on Character #1533
Answered
by
jrouwe
NEO97online
asked this question in
Q&A
-
CharacterVirtual has user data which can be retrieved with GetUserData and set with SetUserData. However, Character is missing these methods (and arguably needs them more because its in the physics system..) Character's constructor does take in a user data, but then its not accessible (at least from C bindings its not) |
Beta Was this translation helpful? Give feedback.
Answered by
jrouwe
Feb 23, 2025
Replies: 1 comment 2 replies
-
I did not provide convenience functions for every function on Body because it's very simple to do this:
or
(and I would assume that it will be similar in the C wrapper interface) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
NEO97online
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did not provide convenience functions for every function on Body because it's very simple to do this:
or
(and I would assume that it will be similar in the C wrapper interface)