Irregular shape boundaries in toxiclibs and verletphysics
in
Contributed Library Questions
•
9 months ago
Hi,
Is it possible to have irregular shape boundary in toxiclibs + verletphysics?
Now I have this line:
But maybe there is a possibility no to have this kind rectangular boundary or cube.
I would like to have polyline boundary (where each point is defined manually).
May I have to use some sort of verlet particle string that would act in a similar way like a rectangle boundary?
I do not actualy need a 3d boundary, but 2d polyline boundary would be ok for me.
If it is some sort of verlet particle string, could you help me to write it?
Thank you:)
Is it possible to have irregular shape boundary in toxiclibs + verletphysics?
Now I have this line:
- physics.setWorldBounds(new AABB(new Vec3D(300, 300, 600), new Vec3D(300, 300, 600)));
But maybe there is a possibility no to have this kind rectangular boundary or cube.
I would like to have polyline boundary (where each point is defined manually).
May I have to use some sort of verlet particle string that would act in a similar way like a rectangle boundary?
I do not actualy need a 3d boundary, but 2d polyline boundary would be ok for me.
If it is some sort of verlet particle string, could you help me to write it?
Thank you:)
1