2021-04-22, 03:05 PM
(This post was last modified: 2021-10-12, 12:18 PM by AbyssMorgan.)
(2021-04-22, 04:59 AM)PutuSuhartawan Wrote: hi sir sorry. Are there any native functions from ColAndreas that will be used when this script is running? I mean I need to write another function called from source include ColAndreas. Because there are too many include here. Can you explain the simplicity sir?
Code:
OnPlayerUpdate -> {
? ? IsCollisionFlag
? ? Item::GetCollisionFlags -> {
? ? ? ? Item::GetPos
? ? ? ? GetPointCollisionFlags -> {
? ? ? ? ? ? IsPointInUnderwater -> IsPointInWater -> CA_RayCastLine
? ? ? ? ? ? IsPointInWater -> CA_RayCastLine
? ? ? ? ? ? IsPointInAir -> InteriorFindZ -> CA_FindZ_For2DCoord
? ? ? ? ? ? IsPointInUnderground -> CA_FindZ_For2DCoord -> IsPointInWater -> CA_RayCastLine
? ? ? ? }
? ? }
}
ColAndreas usage
Code:
CA_FindZ_For2DCoord
CA_RayCastLine