Skip to content

lched/customThreeSkeletonHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomThreeSkeletonHelper

Custom reimplementation of Three.js SkeletonHelper that allows to edit properties such as linewidth that are otherwise ignored by WebGL. The interesting file here is src/customSkeletonHelper.js.

To use it in your project, simply copy that file and import the SkeletonHelper like: import {SkeletonHelper} from './customSkeletonHelper'; Then use that version instead of the one from Three. Properties can be passed to the object when instantiating it or through one of the Set methods.

image showing skeleton with customized linewidth

Inspired by https://discourse.threejs.org/t/extend-skeletonhelper-to-accommodate-fat-lines-perhaps-with-linesegments2/59436

About

Three.js skeletonHelper implementation accomodating wider lines

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published