Closed gaurishgarg closed 1 year ago
How to freeze rotation in X and Z axis for a phy capsule to avoid it from falling? Also, how to rotate a capsule about Y axis? Also what is the meaning of getazimut in character code? Also, I have a capsule which I can control using wasd or arrow keys, how can I apply it to my own character loaded via glb loader, i.e. how to make my character move along with the capsule?
I attached my character to the capsule and made the capsule visibility false, but this also hides the character. how to solve it? Or how can I apply transparent material to that capsule?
for rotation lock is angularFactor:[0,1,0]
make character with material:'hide' and attach to capsule
Thanks a lot
is simple all physics engine is in meter so one three unit is one meter