Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Adding obstacles under slopes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt Lewis  
View profile  
 More options Nov 3 2012, 11:56 am
From: Matt Lewis <matt.le...@naturalmotion.com>
Date: Sat, 3 Nov 2012 08:56:26 -0700 (PDT)
Local: Sat, Nov 3 2012 11:56 am
Subject: Adding obstacles under slopes

Hi, I currently have a problem when I add obstacles to the dtTileCache
(using addObstacle). Before I add the obstacle I increase the size of the
bounding volume by the size of the walkable radius, I do this because the
obstacles don’t erode the walkable area and I need to be able to navigate
around them. The problem comes if an obstacle is placed underneath a slope.
Without the obstacle the slope is normally navigable (it’s the right size
and below the max slope angle). However when I place an obstacle underneath
it I can no longer find a path up it, this is because I’ve increased the
size obstacle to allow for the walkable radius and it punches through the
slope.

            \                                                                                                                                  

              \ slope                                                                                                                    

  _____   \                                                                                                                              

        Obstacle   |           |  \                                                                                                                            

                           |           |    \                                                                                                                          

                           |_____|      \                                                        

             \              

               \

_______ \___

|                \    | Increased size for walkable area

|                  \  |

|_________\|

Does anyone know if there is a way around this? It looks like I need the
obstacles to actually erode the walkable area so it takes into account
solid objects near by, but I’m not sure if this is possible or would take
up too much cpu time (the obstacle system seems to be pretty streamlined
and efficient).

Thanks for any help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »