About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Path Obstacles
Author Message
Rollcage Offline
Member

Post: #1
Path Obstacles
Hi,
I have a few questions regarding path obstacles used with a navmesh. Is it possible to place a path obstacle eg: a block and have the navmesh update so that the player can now walk on top of the block but not through it.

Example: What I want to be able to do is something like this for a RTS castlebuilder:
Place blocks on the map to create walls. build ramps to the walls and allow units to walk on the walls.

Is this possible with the current system? If not is it possible with changes to the system?

Thanks
04-04-2012 03:49 PM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #2
RE: Path Obstacles
Yes it is possible. However you will need to override the default navmesh handling by EE.

More specifically, you will need to implement your own PathWorld, with a PathMesh for each area. It is probably best to extend Game::Area::Data and use it as a custom area data for the world. Then you can handle your own PathMesh building in it.
04-05-2012 12:50 AM
Find all posts by this user Quote this message in a reply
Rollcage Offline
Member

Post: #3
RE: Path Obstacles
This sounds interesting. I will give it a go. Cheers
04-05-2012 01:22 AM
Find all posts by this user Quote this message in a reply
Post Reply