Commit Graph

886 Commits

Author SHA1 Message Date
Léo Lam 68cf6ed385
ksys/phys: Finish StaticCompoundRigidBodyGroup 2022-03-24 22:24:58 +01:00
Léo Lam 0b636cdd02
ksys/phys: Rename RigidBody flag 8 (IsAddedToWorld)
Forgot to do this in a previous commit.
2022-03-23 10:06:09 +01:00
Léo Lam cfb1f1e074
ksys/phys: Add more StaticCompound functions, part 2 2022-03-23 10:04:43 +01:00
Léo Lam cc6527bb26
ksys/phys: Simplify calls to RigidBody::makeScopedLock
Add another overload which automatically determines whether the rigid
body world should also be locked.
2022-03-23 01:19:00 +01:00
Léo Lam e10e8dcac7
data: Update function list 2022-03-23 00:57:43 +01:00
Léo Lam a86fb2a9ed
ksys/phys: Rename BodyGroup -> StaticCompoundRigidBodyGroup
Makes it obvious that it is related to StaticCompound stuff

Also fixes the relative ordering (BodyGroup is located after Mgr code).
2022-03-23 00:52:23 +01:00
Léo Lam f3308d7bee
ksys/phys: Rename some RigidBody flags (add/remove from world) 2022-03-22 23:14:19 +01:00
Léo Lam c97cf995ef
ksys/phys: Add more StaticCompound stuff, part 1 2022-03-22 19:30:14 +01:00
Léo Lam ffcc7f659e
Remove unneeded include 2022-03-21 03:04:27 +01:00
Léo Lam ec37bc0018
ksys/phys: Add RayCastRequestMgr 2022-03-21 03:00:36 +01:00
Léo Lam 509d557731
ksys/phys: RayCastPlusBody -> RayCastBodyQuery for clarity 2022-03-21 00:31:14 +01:00
Léo Lam eca996b3fa
ksys/phys: Add RayCastPlusBody 2022-03-21 00:22:24 +01:00
Léo Lam 0890d161e5
ksys/phys: Add most remaining parts of RayCast
One last function remaining (0x0000007100fc4844) but it looks obnoxious
so I'll leave it for later.
2022-03-20 22:04:58 +01:00
Léo Lam 7f5b7f67e3
ksys/phys: Add Phantom 2022-03-20 17:04:20 +01:00
Léo Lam a98e5f6557
ksys/phys: Add ScopedWorldLock to simplify world locking/unlocking 2022-03-20 15:11:28 +01:00
Léo Lam cc270ee3ff
ksys/phys: Change getRigidBody to take a const-ref for consistency 2022-03-20 13:21:51 +01:00
Léo Lam 12505b6379
ksys/phys: Implement world/shape casting RayCast functions 2022-03-20 02:32:10 +01:00
Léo Lam 0ff9ead1d2
ksys/phys: Add RayHitCollector 2022-03-19 17:50:45 +01:00
Léo Lam f709a7c612
ksys/phys: Finish QueryContactPointInfo::Iterator 2022-03-18 21:18:15 +01:00
Léo Lam bd1c2b6ed6
ksys/phys: Start adding RayCast 2022-03-18 01:19:59 +01:00
Léo Lam 8d88461c52
Change getContactLayerBaseRelativeValue to return an int to avoid casts 2022-03-17 22:54:21 +01:00
Léo Lam e7e9644a1f
Merge pull request #91 from notyourav/bb
auto placement work
2022-03-17 08:15:49 +01:00
theo3 3d1cb480c2 auto placement work 2022-03-16 17:54:50 -07:00
alex-botw 59c85ae8c2
ksys::eco::LevelSensor::calculatePoints (#90) 2022-03-16 09:59:31 +01:00
theo3 20f0a07ab0 AddAutoPlacementCreator action 2022-03-15 22:59:38 -07:00
theo3 4758d41d69 map debug stubs 2022-03-15 22:59:12 -07:00
Léo Lam 0c3df3ed97
ksys/phys: Add ShapeCast 2022-03-15 01:20:41 +01:00
Léo Lam 2a9e3318b5
ksys/phys: Finish ContactMgr 2022-03-14 01:10:28 +01:00
Léo Lam a9d5f88968
ksys/phys: Add ContactLayerCollisionInfoGroup 2022-03-13 23:57:28 +01:00
Léo Lam af2e33153a
Fix matching issue in ContactMgr::processImpulseEntries 2022-03-13 02:33:56 +01:00
Léo Lam e27c55361d
ksys/phys: Add impulse related ContactMgr functions 2022-03-13 02:28:34 +01:00
Léo Lam ad6c11f468
ksys/phys: Add SensorContactListener 2022-03-10 21:46:45 +01:00
Léo Lam 0e717ed15d
ksys/phys: Finish EntityContactListener 2022-03-10 12:58:34 +01:00
Léo Lam 8cbdcbf6ea
ksys/phys: Remove unnecessary include in physConversions 2022-03-08 23:10:12 +01:00
Léo Lam 9b1d08ca99
ksys/phys: Deduplicate hkpEntity -> RigidBody getters 2022-03-08 20:33:19 +01:00
Léo Lam a9ee6f839e
ksys/phys: Start adding EntityContactListener 2022-03-08 20:30:12 +01:00
Léo Lam c11a33c5ab
ksys/phys: Implement ContactMgr::registerContactPoint for queries 2022-03-08 12:59:44 +01:00
Léo Lam 6830bcbb64
ksys/phys: Add SphereBasedClosestPointQuery 2022-03-08 00:11:52 +01:00
Léo Lam 62959cc554
ksys/phys: Start adding ClosestPointQuery and iterator stuff 2022-03-07 12:44:38 +01:00
Léo Lam 6229e5d41a
ksys/phys: Move Constraint stuff to a separate folder 2022-03-06 22:38:43 +01:00
Léo Lam a1f9eea300
ksys/phys: Add QueryContactPointInfo 2022-03-06 21:35:36 +01:00
Léo Lam 8a6b47d132
ksys/phys: Add more ContactMgr functions 2022-03-06 16:10:13 +01:00
Léo Lam 683108b75c
ksys/phys: Add CollisionInfoBase::enableLayer/disableLayer
The pattern seems to show up very often in CollisionInfoBase users
2022-03-06 12:41:41 +01:00
Léo Lam 5dde8ced89
ksys/phys: Add ContactPointInfo iterator
It's mostly the same thing as LayerContactPointInfo::Iterator.
With some functions inexplicably marked as virtual.
2022-03-06 01:37:57 +01:00
Léo Lam 631a0ab388
ksys/phys: Finish LayerContactPointInfo
Clean up the iterator stuff and fix some inaccuracies.
2022-03-06 00:30:05 +01:00
Léo Lam ba2d81b7b8
ksys/phys: Implement ContactMgr functions used by ContactListener 2022-03-05 19:34:01 +01:00
Léo Lam 88a0a9eb69
Use sead::OffsetList::robustRange() when possible to simplify iteration 2022-03-05 19:13:06 +01:00
Léo Lam d839816081
ksys/phys: Finish ContactListener 2022-03-05 17:16:32 +01:00
Léo Lam 1518cc4960
lib: Update sead 2022-03-04 21:48:06 +01:00
Léo Lam f802ee16c9
ksys: Add CoreInfo to avoid hardcoding number of cores everywhere 2022-03-04 15:29:32 +01:00