Forum Discussion

waynecochran's avatar
waynecochran
Explorer
6 months ago
Solved

Can I query the left and right eye pose relative to head pose?

I see in the Custom Component Starter Sample the execute() method fetches the head pose as follows:

var headPose: Pose = getScene()!!.getViewPose()

I assume this returns the position of the head sensor on the device in the current world coordinate system. Is there a way to fetch the positions/poses of the left and right eye relative to the head position?

Follow up: is it possible to have different transforms in the ECS components depending on which eye is being rendered?

 

 

 

3 Replies