nartc / angular-three

🧊 THREE.js integration for Angular 🧊
https://angular-three.netlify.app/
MIT License
306 stars 26 forks source link

[V5 beta] cannon-debug always enabled #95

Closed IRobot1 closed 2 years ago

IRobot1 commented 2 years ago
<ngt-cannon-debug [disabled]="true" [scale]="1.1" color="black">

Its visible when disabled is true. Is this feature missing from V5?

nartc commented 2 years ago

a bug :( beta.4 has been released to fix this. Btw, you can do this:

<ngt-cannon-debug disabled scale="1.1" color="black"></ngt-cannon-debug>

BooleanInput and NumberInput should allow that to work. You should only use [] binding syntax when the value is dynamic. Of course, this is my preference. If you prefer [] syntax, feel free to