Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 1004642

Browse files
authored
Added TODO about MO Intersection movement application
1 parent 8da3b10 commit 1004642

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Entities/AtomGroup.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,7 @@ namespace RTE {
14701470
float normMassA = invMassA / (invMassA + invMassB);
14711471
float normMassB = invMassB / (invMassA + invMassB);
14721472

1473+
//TODO investigate whether we should apply some (relatively small) amount of movement to the object even if it's a lot heavier, for more realistic physics
14731474
// If the intersected is much larger than this' MO, then only move this. Otherwise, apply the movements to both this and the intersected MO's, proportional to their respective masses.
14741475
if (normMassB < 0.33F) {
14751476
thisExit = totalExitVector;
@@ -1736,4 +1737,4 @@ namespace RTE {
17361737
atomToAdd->SetIgnoreMOIDsByGroup(&m_IgnoreMOIDs);
17371738
m_Atoms.push_back(atomToAdd);
17381739
}
1739-
}
1740+
}

0 commit comments

Comments
 (0)