Closed mlangsdorf closed 6 years ago
Todo:
figure out merge co-ordinates.
mathematically reversing tileray operations is way huge pain in the ass. but we know the bike rack part mounts and global pos3 and the target vehicle global pos3. the merge vehicle has to be cardinally adjacent to the bike rack. calculate global pos3 for cardinally adjacent mount points, use the mount point that has the same global pos3 as the target vehicle.
Current status:
New vague plan: store carried vehicle X or Y offset (it's one or the other, by definition) and just call the pivot point X0 or Y0 for vehicles with an X axis or Y axis. Then don't recalculate positions, just pull them off.
C++ is hard.