Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Can't bind to 'getPhysicProps' #51

Closed
IRobot1 opened this issue Feb 18, 2022 · 2 comments
Closed

Can't bind to 'getPhysicProps' #51

IRobot1 opened this issue Feb 18, 2022 · 2 comments

Comments

@IRobot1
Copy link
Contributor

IRobot1 commented Feb 18, 2022

Trying to use code from kinetic-cube to understand how to enable physics.
I've re-created the components, but getting the following error

Error: src/app/components/kinetic-box/spheres/app-spheres.component.html:4:21 - error NG8002: Can't bind to 'getPhysicProps' since it isn't a known property of 'ngt-instanced-mesh'.

<ngt-instanced-mesh ngtPhysicSphere
                    [castShadow]="true"
                    [receiveShadow]="true"
                    [getPhysicProps]="getInstancedProps"
                    [args]="[number]">
...
</ngt-instanced-mesh>

What am I missing?

I'm going to try a much simpler example.

Any chance you could document some basic guidance on using @angular-three cannon? It would go a long way to standing up a basic working example.

@nartc
Copy link
Owner

nartc commented Feb 18, 2022

Thank you for the issue. I have written some basic documentations on @angular-three/cannon and deployed it. You can check the latest docs site: https://angular-three.netlify.app/?path=/docs/cannon-introduction--page

@nartc
Copy link
Owner

nartc commented Feb 18, 2022

Please open a new issue if you run into any

@nartc nartc closed this as completed Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants