Thread: Weird object clipping

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11  
    Banned

    Join Date
    Mar 2010
    Posts
    2,228
    Thanks given
    171
    Thanks received
    266
    Discord
    View profile
    Rep Power
    0
    Quote Originally Posted by clem585 View Post
    You're using a pathfinding algorithm that only tries to reach the coordinates of the object without accounting for size. You need to account for the x/y size in the pathfinding calculations.
    I couldn't have said it any better myself.

    I don't believe matrix uses server-sided pathing and the client is a mess. As clem said this usually happens when you don't account for the objectsizex/sizey, I've wrote pathing multiple times and always had this issue and when I implemented something for checking sizex/y it fixed.

    Quote Originally Posted by Stimulant View Post
    Like Makar said, it' hardcoded in the client, you can always rip off The pathfinding of MXII but it has it's issues too.

    2 issues that I know: You can walk trough certain objects (exemple G.E pillars) and you can talk to npcs through walls if you have a distance of 2 tiles.
    Then you need to add blockingMasks to the objects based on type, solid and wall/door. However talking to npcs through walls IF clipping was done correctly it would route around. However if that occurs it's most likely your walk-to task.
    Reply With Quote  
     

  2. #12  
    Mug Club


    Join Date
    Jul 2011
    Age
    27
    Posts
    1,950
    Thanks given
    533
    Thanks received
    944
    Discord
    View profile
    Rep Power
    409
    Quote Originally Posted by Ynneh View Post
    I couldn't have said it any better myself.

    I don't believe matrix uses server-sided pathing and the client is a mess. As clem said this usually happens when you don't account for the objectsizex/sizey, I've wrote pathing multiple times and always had this issue and when I implemented something for checking sizex/y it fixed.



    Then you need to add blockingMasks to the objects based on type, solid and wall/door. However talking to npcs through walls IF clipping was done correctly it would route around. However if that occurs it's most likely your walk-to task.
    MXII pathing does not account for what you're describing and would not work. All objects/map data is valid in the cache and in order to make MXII "work", you have to hardcode things like bank booths, shortcuts, etc to be clipped and there should be absolutely zero hardcoding needed if the pathing is done properly.
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Server Object Clipping (508)
    By Jason in forum Help
    Replies: 21
    Last Post: 12-22-2012, 04:53 PM
  2. Replies: 11
    Last Post: 07-17-2012, 07:43 PM
  3. 128k Object Clipping Dump
    By Streax in forum Configuration
    Replies: 14
    Last Post: 03-12-2012, 06:01 PM
  4. NPC Clipping for 317 (Object Clipping)
    By XJCX in forum Tutorials
    Replies: 14
    Last Post: 03-03-2012, 08:12 PM
  5. [req] need help with weird objects [req]
    By w0w ur d3ad in forum Models
    Replies: 4
    Last Post: 10-17-2009, 04:20 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •