Expose more properties of VRC Constraints to Udon
peepymou
Please expose the properties of VRC Constraints to Udon that are exposed on Unity Constraints, like
IsActive
and the freeze axes. VRC Constraints are more optimized than Unity Constraints, and many creators would prefer to use them whenever possible for this reason. However, many useful properties of constraints are only exposed to Udon on Unity Constraints, and not VRC Constraints, making it only possible to modify them with scripts using animators, or just switching to the less performant Unity Constraints.Log In
Hackebein
You wrote:
> many useful properties of constraints are only exposed to Udon on Unity Constraints, and not VRC Constraints
How do you get access to the Unity Constraint? They should be auto converted to VRC Constraints.
> You should use VRChat's constraints instead of Unity's when creating avatars. If your avatar contains any Unity constraints, they will be automatically converted into VRChat constraints when your avatar is loaded in-game, so using VRChat constraints directly will give you a more accurate representation of how your avatar will behave as well as a more accurate performance rank.
peepymou
Hackebein This feedback request is for exposing VRC Constraint properties to Udon, which is the programing language for VRC worlds, nothing to do with avatars. The problem is that many of the properties (like
IsActive
or enabled
, which can be used to disable the component) are not accessible to the programming language used for worlds, meaning you cannot write a script for example that disables a VRC Constraint when not in needed. However, these same properties ARE available when using Unity Constraints. Since VRC creators should be using VRC Constraints instead, I am asking for Udon to be allowed to access more of the properties of VRC Constraints so they can be better utilized in world creation.Hackebein
peepymou VRC/Unity Constraints are also available on Avatars. You didn't made clear which Constraints you want to access, espacially because Udon can access avatars. Retrospective that you asking for an only-world feature makes sense.