Results 1 to 1 of 1

Thread: collision at the endpoints teleporting issue

  1. #1
    Join Date
    Nov 2011

    Default collision at the endpoints teleporting issue

    Hi again,
    I've sorted out with collision and looks great,
    one problem I encountered is sometimes it teleports the character at some endpoint to the next one
    I've attached the source file + compiled version for windows (debug build)

    Navigation with arrow keys

    to reproduce the problem, try to get to rotated box, and slide on the right slope holding the left arrow key at the end of edge, in a few tries you can see the issue, character teleports on the other vertex of the box
    also it appears on other edges too but this is easier to reproduce

    A point that can reproduce the effect is charpos = CL_Pointf(287.86652, 16.658144);
    I've tried to look at debug draw for some weirdness, but didn't found, looks like a normal penetration only at the ends of the box, doesn't have to sided occlusion

    P.S. sorry for flooding the forum, we're wanting to start a game and testing the capabilities of clanlib if everything suits the game needs. If will be better to pack all the question in one thread please tell me and I'll do so.

    Last edited by spider853; 12-20-2012 at 09:04 AM.

Similar Threads

  1. teleporting glitch
    By dontshoot in forum Tanked
    Replies: 10
    Last Post: 05-29-2012, 03:42 PM
  2. Collision problem
    By navossoc in forum Official ClanLib SDK Forums
    Replies: 6
    Last Post: 05-30-2011, 01:25 AM
  3. 2D Collision System
    By Lars in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 05-03-2011, 06:31 AM
  4. Collision, where you went???
    By speeder in forum Novashell Game Creation System
    Replies: 1
    Last Post: 05-10-2010, 10:23 PM
  5. Collision...
    By catch22 in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 07-17-2009, 04:07 PM



Posting Permissions

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