Getyamamout
Aug. 10, 2025 07:00:29
Trying to workout a way to get some prims of different shapes to align. After processing a load of wonky shapes to have 90 Degree corners etc some have moved and rotated away from there neighbour and now need snapping back. But without deforming the prim again!
So need to move the whole prim to the nearest neighbouring prim in a search radius and snap there edges together. Can anyone help solve this?
Getyamamout
Aug. 10, 2025 12:15:04
so the plan was to use a gravity force and have a bound box be a collider. But now thinking to shrink the bound box to push the prims into place to stop any small prims causing any tilts on any big prims that fall onto them this would also stop the need to work out what way to tilt the gravity to get them all to fall into place. So all I need now is explode to seperate overlapping prims extrude into 3d add collision and shrink a box around them pushing them into place...
Getyamamout
Aug. 10, 2025 13:18:49
just need a bit of advice about the shrink and collision
BabaJ
Aug. 10, 2025 15:28:57
A combination of transform of one point of one prim to another point of another prim.
Getting dihedral rotation axis of both points of both primitives respective target axis - applying rotation matrix from pivot point of primitive to all of primitive.