To use HIK, I find a HikEffectorComponent under avatar, but it always give an error when using "ActivateEffector" function.
<class 'AttributeError'>
Even official example gives this error.
Try this:
import math, RLPy
avatar_list = RLPy.RScene.GetAvatars()
avatar = avatar_list[0]
hik = avatar.GetHikEffectorComponent()
# Activate left hand effector
hik.ActivateEffector(RLPy.EHikEffector_LeftHand)
Then you'll get an error.
So, how to use it correctly?
Edited
5 Years Ago by
butaixianran