
############
applyGravity
############

.. js:function:: Operators.Camera.applyGravity

   .. rst-class:: sig-pretty-signature
   
      | applyGravity(**view**\ : :js:class:`~IView`\ , **pointObject**\ : :js:class:`~Point3`\ , **downVector**\ : :js:class:`~Point3`\ , **maxFallDistance**\ : (*None* \| *number*\ )): *Promise*
   
   This returns the final position of a point object when gravity is applied. If there are no floors to collide with, null is returned.
   
   It is the caller's responsibility to interpolate smooth motion if desired.
   
   **Parameters**
   
      **view**\ : :js:class:`~IView`
   
         The ``View`` of the scene.
   
   
      **pointObject**\ : :js:class:`~Point3`
   
         The point object to fall.
   
   
      **downVector**\ : :js:class:`~Point3`
   
         The vector used to determine the direction of fall.
   
   
      **maxFallDistance**\ : (*None* \| *number*\ )
   
         If the fall distance would exceed this value, then gravity is not applied at all.
   
   
   
   **Returns**\ : *Promise*
   




