UNPKG

@vladkrutenyuk/three-kvy-core

Version:

Everything you need to create any-complexity 3D apps with Three.js. Empower Three.js with a modular, lifecycle-managed context that seamlessly propagates through objects via reusable features providing structured logic.

3 lines (2 loc) 330 B
import{Collider as s}from"../Collider.js";class t extends s{constructor(s,t){const[i,u]=null!=t?t:e;super(s,[r,i,u]),this.radius=i,this.halfHeight=u}useCtx(s){return this._params=[r,this.radius,this.halfHeight],super.useCtx(s)}}const r="capsule",e=[.5,.5];export{t as CapsuleCollider}; //# sourceMappingURL=CapsuleCollider.js.map