Aller au contenu

Photo

No tree collision


  • Veuillez vous connecter pour répondre
14 réponses à ce sujet

#1
architect98

architect98
  • Members
  • 4 messages

After an hour of searching I decided I should ask here. The trees I'm placing from the 'trees' blueprints category have no collision. I looked in their properties and found no option for it. I could place a resized collision sphere, but I wanted to make sure there wasn't an alternative before I do that.



#2
-Semper-

-Semper-
  • Members
  • 2 259 messages

just frame the trees with a walkmesh cutter.



#3
Tchos

Tchos
  • Members
  • 5 063 messages

Or paint the terrain under the tree with the "unwalkable" brush.  Don't use the collision sphere.  Dynamic collisions are inefficient, and interfere with pathfinding.



#4
Jezla

Jezla
  • Members
  • 173 messages

The Powerbar plugin can create a walkmesh cutter around any selected object(s).  It works very well for trees.  To answer the original question, trees are special environmental objects, different from placeables (which can be converted to environmental objects).   



#5
PJ156

PJ156
  • Members
  • 2 985 messages

I have often not bothered to do anything.

 

For thick areas of undergrowth then cutters or walkmesh blanking is good as suggested as you can block out large areas as Semper et al have pointed out. Thios can be used to control the game flow through the level if that is what you are looking for?

 

However for individual trunks of trees I have found there is little value in going in a cutting out each one unless there is a specific need to . Anything that happens in a wood should happen in a clearing or on a path otherwise you are going to get crappy camera occlusion/blinding in the cut scenes or fussy camera work in the combats. So you are only look at areas you might transit through and, I have found, that cutting out the trees really does not add much compared with the time it takes to do it in a large woodland area.

 

PJ



#6
Dann-J

Dann-J
  • Members
  • 3 161 messages

I tend to use a broad brush approach and make terrain triangles entirely unwalkable, rather than use walkmesh cutters to create subtler shapes around the boles. I don't like the thought of players walking right through the trunk of an oak tree in the middle of a village green, any more than I like the thought of village greens that don't sport at least one ancient oak.



#7
kamal_

kamal_
  • Members
  • 5 254 messages

http://nwvault.ign.c...ns.Detail&id=96

 

Haven't used it myself.



#8
rjshae

rjshae
  • Members
  • 4 497 messages

I tend to use a broad brush approach and make terrain triangles entirely unwalkable, rather than use walkmesh cutters to create subtler shapes around the boles. I don't like the thought of players walking right through the trunk of an oak tree in the middle of a village green, any more than I like the thought of village greens that don't sport at least one ancient oak.

 

It's probably a friendlier approach in terms of baking; no new walk mesh triangles need to be added, so it doesn't push the limit per grid square. Plus you are adding back in the ones that you make non-walkable.



#9
PJ156

PJ156
  • Members
  • 2 985 messages

It's probably a friendlier approach in terms of baking; no new walk mesh triangles need to be added, so it doesn't push the limit per grid square. Plus you are adding back in the ones that you make non-walkable.

 

I think that's the better way too, painting out areas is much tidier.

 

Single trees get a cutter so that even the drunkest villager cannot stagger through the green oak.

 

PJ



#10
kamal_

kamal_
  • Members
  • 5 254 messages
^^^ its the villages protective treant and quietly moves out of the way when no one is looking.

The village children feed it kites.
  • PJ156, rjshae et 4760 aiment ceci

#11
PJ156

PJ156
  • Members
  • 2 985 messages


The village children feed it kites.

 

That's really nice imagery.

 

PJ



#12
Eguintir Eligard

Eguintir Eligard
  • Members
  • 1 832 messages

Walkmesh cutters arent intended for outdoor. Your player cant step in anything smaller than the triangles that you paint with anyway (via the non walkable brush) so having an intricate tiny trigger is a waste of time and calculation time when you bake the area. Indoor areas need triggers because they can't be painted.



#13
Tchos

Tchos
  • Members
  • 5 063 messages

If you need a standard 4-sided walkmesh helper changed to an unusual shape outside, you'll have to use a walkmesh cutter to get it to that shape, because helpers override the ground properties.



#14
kamal_

kamal_
  • Members
  • 5 254 messages

That's really nice imagery.

 

PJ

Not mine, it's a reference to Charlie Brown comics

http://img3.wikia.no...b6/Pe670219.jpg



#15
kevL

kevL
  • Members
  • 4 070 messages

... iambic tetrameter