I’ve been pulling my hair out over some nonsensical PCS behavior in my implementation. I think I’ve narrowed it down to what’s happening in the playground above. I’ve tried to simplify the code, and would like to understand how the heck PCS actually places surface points on a mesh. I’m new to BabylonJS, but this just doesn’t seem intuitive. Maybe I’m missing something here?
- I have a sphere mesh in 0,1,0 world space.
- Every 2 seconds I create a new PCS and add surface points to the mesh.
- For the first PCS, the surface points show up in the right spots (the sphere’s surface centered on 0,1,0 world space).
- But every subsequent new PCS with additional surface points leads to surface points somehow translating up?
Thanks in advance for the help!