npm.io
6.6.30 • Published 3 months ago

@pmndrs/handle

Licence
SEE LICENSE IN LICENSE
Version
6.6.30
Deps
2
Size
171 kB
Vulns
0
Weekly
0
Stars
2.6K

@pmndrs/handle

framework agnostic handle implementation for threejs

How to use

//lets create a handle to translate the object on the x axis (the target and the handle are both the object)
const store = new HandleStore(object, () => ({ scale: false, rotate: false, translate: "x" }))
store.bind(object)

Keywords