Page 1 of 1

Steering behavior

Posted: Sun May 09, 2010 6:04 am
by y offs et
Sure wish I could set steeringBehavior.targetModel from code. It would make chaining path points easier.
Right now you need a behavior and a model for each, as you can't spawn an identity of a model and script targetModel identity changes.

Posted: Sun May 09, 2010 1:42 pm
by y offs et
Another thwart to this approach is that to spawn multiple path point identities of a model, it must be a clone, and steeringBehaviors target the clone model base position - not the spawned identity position(s?).

Posted: Sun May 09, 2010 1:50 pm
by Kjell
:)

Or you could use Expression as SteeringBehavior.Kind ~

K

Posted: Sun May 09, 2010 3:03 pm
by y offs et
That may be true. :)
I could set an outVector that aims at colliding with yonder path turn point.
Hmm....

Posted: Sun May 09, 2010 3:07 pm
by jph_wacheski
Perhaps this will help;

viewtopic.php?p=3766#3766

If one way does not work, we can always look for another approach.