Skip to content

TypeError when passing HmdMatrix34_t to setOverlayTransformTrackedDeviceRelative #88

@DASPRiD

Description

@DASPRiD

I'm trying to bind an overlay to a user's hand. For this I'm using the following code:

overlay.setOverlayTransformTrackedDeviceRelative(
  handle,
  openvr.c_ulong(leftHandId),
  openvr.HmdMatrix34_t()
)

When trying this though, I'm getting the following error:

TypeError: byref() argument must be a ctypes instance, not 'CArgObject'

I'm not exactly sure what other type might be expected there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions