Skip to content

Uncaught TypeError: Cannot read property '0' of undefined #3

@jacobischwartz

Description

@jacobischwartz

Hi,

I'm really excited to try this out. But I'm getting a JS error (Chrome dev tools). Here's the error location according to the console:
leap-threejs-boilerplate-r4.html:137

The relevant line has:
point = frame.pointables[i].positions[j];

I've got the Leap Motion plugged in and the Leap Motion visualizer works.

Do I need to do anything special to give the browser access to the Leap Motion?

I'm on Mac OS X 10.9.3 (latest stable) with Chrome 35.0.1916.153 (latest stable). My Leap Motion settings dialog says it's up to date.

Cheers,

Jacob

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions