Results 1 to 10 of 179

Thread: nxPascal

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #16
    I did sliding collision on the FPS demo.
    https://code.google.com/p/nxpascal/s...meUnit.pas#151
    The physics part in that is 11 lines long loop. It takes use of TGLModel.FindNearest() which scans nearest wall point of all nearest polygons, and then the loop pushes player away from it. It is similar logic as in the walker demo, only applied in 3D space. (*Similar*, not *same* because this version is much more optimal and accurate).

    change the radius value for PointInSphere and thats same as changing player sphere radius? Im correct?
    Yes that sounds same.
    Last edited by User137; 23-08-2013 at 12:20 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •