Rotation Constraint does NOT work on camera and mirror
complete
ゼノックスxenox
Rotation Constraint with Avatar does NOT work on first person camera and mirror.
It works correctly on:
- unity editor
- first person perspective
- other person perspective
- other person looks at my avatar through camera or mirror
It does NOT work correctly on:
- I (first person) look at my own avatar through camera or mirror
I found this bug when im using these SDKs:
- VRCSDK3-AVATAR-2020.09.25.00.08_Public
- VRCSDK3-AVATAR-2020.10.28.15.58_Public
Log In
HK
marked this post as
complete
ゼノックスxenox
Thanks for the reply.
As you said, this problem seems to have already been resolved in the latest SDK, probably.
Fax
marked this post as
needs more information
Could you please confirm that this is still an issue?
We've made some changes since you posted this bug report, and think the issue may have been resolved.
lackofbindings
Oddly I've found some of my avatars work fine and others don't. I have an avatar with working rotation constraints on a dynamic bone, works fine in the mirror. I copied the project to make a version with different colors and the rotation constraints experience this issue on that one.
lackofbindings
Ok so I just found out they recently pushed an update that "changes constraint execution order" so this bug was likely re-introduced by that, hence why it was different between projects. It seems that after that change playing animations can now override constraints (but for some reason only in local mirrors/cameras), whereas before the constraints would override animations. So if you are having this issue (after VRCSDK3-AVATAR-2021.08.11.15.16), consider removing all custom animation controllers and see if the issue persists. You may have to mask off some bones/etc to get things working till this is fixed.
Whaddageek
This bug is still quite present.
What's interesting is you can see OTHER player's constraint-driven avatar components in mirrors and cameras, it's only constraints on your own avatar that are not reflected in cameras or mirrors.
1TheBlueWii1
Can confirm. Any camera/mirror will NOT reflect any constraints on bone armatures. Other players, and myself when looking at my own body, can see the rotations perfectly fine.
Example; First 2 screenshots have some skirt bones that are constraint to rotate along with the legs, but it isn't reflected on the mirror and camera.
Lastly, related to constriants. Position constraints are not friendly with avatar previews. (3rd screenshot)
Kilerbomb
I have observed this as well. Although in my testing it seems like it kind of works, but not properly. Lots of jittering and inaccuracy in the mirror, only locally. Maybe it's different per constraint type, in my testing I was using Look At and Aim constraints.
1TheBlueWii1
Kilerbomb: From what I can gather, objects that are not related to the avatar (like sword models, hat models, etc.) that constraints to the avatar's armature (rotation and position), like you said, "kind of works". It'll jitter, and have a slight delay with tracking the constraint object. (A hand for example)
For one of my avatars, I have an xmas gift object on the right hand, with a lid that I can pull with the left hand via constraints.
Jitters and inaccuracy for the lid REALLY show in the mirror when I move my right arm super fast while holding the lid on the left hand.
benjanyan
Having exactly the same issue with parent constraint. Guessing the cause is related. The effects of the component aren't visible on your own avatar in mirrors/camera.