VRM4U icon indicating copy to clipboard operation
VRM4U copied to clipboard

first person vrm camera

Open My-Tallest opened this issue 2 years ago • 2 comments

Describe the bug Im trying to make a first person game that lets the player load there own vrm model to be the player. When i do the the first person camra is pushed into the ground, due to the skeleton of the mesh changing. Is there a way to get the head of runtime loaded vrm models? the anim retarget used in the example map seems to know wich bone is the head but i dont know how to expose that info to use for the camera.

Screenshots, log Untitlllled

UnrealEngine Version: UE 5.0.3

My-Tallest avatar Jan 03 '23 06:01 My-Tallest

Hi. Internally, the VroidSimple model is used. So, it is a good idea to refer to the bones of this You can also reference bones from a spawned Actor.

ruyo avatar Jan 05 '23 13:01 ruyo

Ive tried attaching to certain bones, but not all vrm models seem to work with this method, and the J_Adj_R_FaceEyeSet bone dosnt work at all in this regard. i dont know if its because im in an older version of unreal engine 5, but it is rather odd.

My-Tallest avatar Jan 05 '23 18:01 My-Tallest