Efficient Camera - Ground Rectangle collision point detection
#1

Hello, I'm looking for a good way to get the player camera front vector intersection point with the ground in order to check if that point is inside an area (a rectangle).
I've found some algorithms online that would do only if the ground surface is flat, which is not the case in SA map.
Maybe combining GetPointZPos, GetPlayerCameraFrontVector, GetPlayerCameraPos and the rectange vectors will do? I'm not familiar ColAndreas either, any help would be appreciated
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)