Skip to content

TypeError: uvScaleMap.updateMatrix is not a function #13

Description

@arunpdl

Hi, I'm trying to use this package with React and I'm getting the following error,
TypeError: uvScaleMap.updateMatrix is not a function
as soon as I add
scene.add(dice.getObject())

My code:

var scene = new THREE.Scene(); var world = new CANNON.World(); DiceManager.setWorld(world); var dice = new DiceD6({backColor: '#ff0000'}); scene.add(dice.getObject());
Any help would be great. Thanks :)

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