lordraider
9 years agoHonored Guest
Custom Grip Pose question
Hello,
I managed to create a custom grip pose and saved it as a prefab in unity.
In my main project i set the custom grip pose to the LeftHandCustomPose variable of the OvrAvatar when let's say the trigger is being pressed. But it instantly changes the pose to the new pose.
Is there default support to smoothly transition the default pose to the "gripping" trigger pose base on the trigger value?
Or do I need to traverse the 2 poses (from pose and to pose) myself and apply a lineair lerp for the joint transform positions and quaternions according the trigger value?
Don't know if the sdk support this.. you can only set one custom pose at a time and also can't set what's the "type" of the pose (trigger , index , normal and so on) so I suppose you need to manage this yourself?
Thanks in advance
I managed to create a custom grip pose and saved it as a prefab in unity.
In my main project i set the custom grip pose to the LeftHandCustomPose variable of the OvrAvatar when let's say the trigger is being pressed. But it instantly changes the pose to the new pose.
Is there default support to smoothly transition the default pose to the "gripping" trigger pose base on the trigger value?
Or do I need to traverse the 2 poses (from pose and to pose) myself and apply a lineair lerp for the joint transform positions and quaternions according the trigger value?
Don't know if the sdk support this.. you can only set one custom pose at a time and also can't set what's the "type" of the pose (trigger , index , normal and so on) so I suppose you need to manage this yourself?
Thanks in advance