LarryG on 16/8/2013 at 15:14
I know how to make it such that Garrett bumps into objects, but AIs don't (essentially, move objects out of map, pathfind, move them back in & save), but is the converse possible? That is, can an object be bumped into by AIs but not by Garrett?
Daraan on 16/8/2013 at 15:27
I'm not sure if this trick helps you.
Give the object AI->Utility-> Block pathfind
and Physics->Attribute-> IsEdgeTrigger
That makes the object unpathable by AIs but passable by the player.
LarryG on 16/8/2013 at 15:49
What I'm trying to do is to make it possible for frogs to jump on lily pads but Garrett just wade through them. So I don't think I want to block pathfind, I want them to be pathable, no?
Daraan on 16/8/2013 at 16:40
Then do this:
Ai-> Utility->PathableObject: True
and Physics->Attribute-> IsEdgeTrigger
Then the AI can pass and the object has no interaction with Garrett. Evil stuff.
©Daraan:cheeky:
LarryG on 16/8/2013 at 18:32
I'll try that & let you know. Thanks!
R Soul on 16/8/2013 at 18:42
For some reason the Edge Trigger flag prevents mantling onto nearby terrain if the player intersects the object. If that's a problem, the alternative is Physics > Misc > Collision Type: None.
Nameless Voice on 17/8/2013 at 00:57
"Blocks pathfind" means that the object is treated as a section of impassable terrain by the pathfinder. AIs can still walk over it, they just can't pass through it.
I've made AI path ramps in the past using these settings:
AI->Utility->Path Avoid: Blocks Pathfind
Physics->Misc->Collision Type: [None]
Physics->Model-Mantleable?: False
LarryG on 18/8/2013 at 11:15
Hmmm. So far my frog just drops through the lily pads and drowns.
john9818a on 18/8/2013 at 11:41
Do you have AI collides with set to true? Have you considered using metal catwalks and change the model to lily & change material tags to something like carpet?
Another method is to make the water solid, run pathfinding, and then make the water water again. The AI should still walk across as if it were still solid.
LarryG on 18/8/2013 at 13:13
That was the final clue I needed. Thanks.
This is what I ended up with on the lily pads archetype:
AI>Utility>Path avoid: Blocks pathfind
AI>Utility>Pathable object: False
Object System>Immobile: True
Physics>Misc>AI Collides With: True
Physics>Misc>Collision type: [None]
Physics>Model Type: {OBB; 1; False; False}
Metaproperty>Materials>Supple>MatVegitation
It seems to meet all my criteria. Thanks all for the advice!
My froggy thanks you too ...
[ATTACH=CONFIG]1767[/ATTACH]
[ATTACH=CONFIG]1768[/ATTACH]
... At least I think that's what he's doing.