Hello m1440! use python for assign full controls you steering actuator targets or navmeshes or agent speeds
import bge
from bge import logic as gl
cont = gl.getCurrentController()
scene = gl.getCurrentCsene()
o = cont.owner
speed = o[‘speed’]
#Actuator
steering = cont.actuators[‘Steering’]
if speed>0.000:
steering.velocity = speed # assign for steering personal speed
for i in scene.objects:
if ‘ground’ in i:
steering.navmesh = i # assign navmesh, if steering empty navmesh
if 'player' in i:
steering.target = i # assign target for steering if steering target empty
if you use raycast method or sensors rays in python- radars you get objects detected sensors and assigns for you actuators, this is objects always work right in scripts and not errors situation if you use simple logic bricks and spawn game objects stand another layers
if ray.positive:
obj = ray.hitObject
steering.target = obj
cont.activate(steering)
more information reading in API for bge or upbge - good luck :подмигивать: