GetNearestFloor execution error

(1 post) (1 voice)
  • Started 3 years ago by kaiserleo

Tags:

No tags yet.

  1. kaiserleo

    member
    Joined: Jan '10
    Posts: 10

    Hi,

    I've been trying to use FloorManager::GetNearestFloor() function, but I've been stuck for several hours trying to figure out what's happening without success.

    FloorManager floorManager = FloorManager.Cast( bc.GetManagerByGuid( GetFloorManagerGuid() ) );
    Vector testPosition = aValidValueVariable;
    Entity3D floorObject = null;
    	if( floorManager.GetNearestFloor( testPosition, floorObject ) == CKFLOOR_NOFLOOR )
    	{
    		//Do some stuff
    	}

    When the GetNearestFloor is executed I receive an execution error.
    Any ideas?

    Leo

    Posted 3 years ago #

Reply

You must log in to post.