summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/RigidBody/physRigidBodyMotionSensor.cpp
AgeCommit message (Collapse)Author
2022-12-20lib: Update seadLéo Lam
2022-03-23ksys/phys: Simplify calls to RigidBody::makeScopedLockLéo Lam
Add another overload which automatically determines whether the rigid body world should also be locked.
2022-03-22ksys/phys: Rename some RigidBody flags (add/remove from world)Léo Lam
2022-03-03ksys/phys: Fix accuracy issue for storeToVec3Léo Lam
Allows us to get rid of a bunch of local variables that only existed to force the entire vector to be loaded.
2022-01-17ksys/phys: Add RigidBody::isEntity to make certain checks clearerLéo Lam
The pattern we want to use is: ``` if (isEntity()) do entity stuff (e.g. get entity motion accessor) ``` or ``` if (!isEntity()) return; do entity stuff ``` That's clearer than ``` if (isSensor()) return; do entity stuff ``` because the fact that !isSensor() is equivalent to isEntity() is not always immediately clear.
2022-01-17ksys/phys: Rename MotionAccessor classes to reflect entity/sensor splitLéo Lam