Closed steven11sjf closed 3 days ago
in some actors bmsad's, there's a function on the CCollisionComponent that seems to be CreateCollider(name: str, prop1: str, prop2: str, prop3: str, type: str, data: float..., unk_maybe_flag: optional[bool])
CCollisionComponent
CreateCollider(name: str, prop1: str, prop2: str, prop3: str, type: str, data: float..., unk_maybe_flag: optional[bool])
examples from save station weight platform: CreateCollider("smartobject", "smartobject", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", 0.0, 0.0, 0.0, 170.0, 30.6718) CreateCollider("frameleft", "frame", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", -101.5, -3.0369, -1.3274e-7, 33.0, 23.5821, True) CreateCollider("frameright", "frame", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", 101.5, -3.0369, -1.3274e-7, 33.0, 23.5821, True)
CreateCollider("smartobject", "smartobject", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", 0.0, 0.0, 0.0, 170.0, 30.6718)
CreateCollider("frameleft", "frame", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", -101.5, -3.0369, -1.3274e-7, 33.0, 23.5821, True)
CreateCollider("frameright", "frame", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", 101.5, -3.0369, -1.3274e-7, 33.0, 23.5821, True)
It seems to line up with the bmscc values, should research more to see if there's a polycollection2d or circle or anything like that.
in some actors bmsad's, there's a function on the
CCollisionComponent
that seems to beCreateCollider(name: str, prop1: str, prop2: str, prop3: str, type: str, data: float..., unk_maybe_flag: optional[bool])
examples from save station weight platform:
CreateCollider("smartobject", "smartobject", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", 0.0, 0.0, 0.0, 170.0, 30.6718)
CreateCollider("frameleft", "frame", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", -101.5, -3.0369, -1.3274e-7, 33.0, 23.5821, True)
CreateCollider("frameright", "frame", "platform_push", "PLAYER_COLLISION|IGNORE_GHOST_AURA", "AABOX2D", 101.5, -3.0369, -1.3274e-7, 33.0, 23.5821, True)
It seems to line up with the bmscc values, should research more to see if there's a polycollection2d or circle or anything like that.