Hi jlahtinen,
for 3D object collisions, I use "ObjectRayCast" below is an example from my current project.
This example is the camera colliding with the object once it gets within 10 units of the object on the Z axis (which is the only direction my camera moves in this example)
do
if (ObjectRayCast(PlanetVar,GetCameraX(CameraVar),GetCameraY(CameraVar),GetCameraZ(CameraVar),GetCameraX(CameraVar),GetCameraY(CameraVar),GetCameraZ(CameraVar)+10))
Print("Landing on planet surface " + str(Hit))
MoveCameraLocalZ(CameraVar,-ShipSpeed) //Back camera up the same amount we moved forwards as we have already hit the target object
fncOnPlanet() //My function to load and display planet surface
endif
sync() //Update screen
loop
Others who are more skilled than I would have better ways, but look at the following commands
ObjectRayCast
ObjectSphereCast
ObjectSphereSlide
They all have some good examples that while written for AppGameKit V1, should help (pretty sure they will compile)
cheers
It\'s late, I\'m tired, out of coffee and now I\'m wet.