mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
Work on collision related implementations
This commit is contained in:
@@ -45,4 +45,12 @@ rstl::optional_object<zeus::CAABox> CScriptPlatform::GetTouchBounds() const
|
||||
|
||||
return {CPhysicsActor::GetBoundingBox()};
|
||||
}
|
||||
|
||||
bool CScriptPlatform::IsRider(TUniqueId id) const
|
||||
{
|
||||
for (const SRiders& rider : x318_riders)
|
||||
if (rider.x0_uid == id)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user