How can I use the Steering Actuator, no Edit object (track to) in this example.
from bge import logic
cont = logic.getCurrentController()
own = cont.owner
Near = cont.sensors['Near']
Track = cont.actuators['Track']
if Near.positive:
hitObjs = Near.hitObjectList
dist = 0
obj = None
for item in hitObjs:
if item.getDistanceTo(own) < dist or dist == 0:
dist = item.getDistanceTo(own)
obj = item
Track.object = obj
cont.activate(Track)
how to change this code to detect steering actuator, not Edit object (track to) help pls