Path Following Turning Speed Too Sharp - Steering Actuator

Hey guys, so as the title suggests, I have made a navmesh and made my object navigate through the world by using the path following option on the steering actuator, my only problem is that the turning speed parameter doesn’t seem to be working for me, is this something I’m doing wrong or is there a bug with this?

Thanks in advance,
Adam

turn if off, it is very buggy (I should make a report or you?)
use

(steering condition on)------Python

import bge
cont = bge.logic.getCurrentController()
own = cont.owner

if own.worldLinearVelocity.magnitude>.05:
   MoveCopy = own.worldLinearVelocity.copy()
   MoveCopy.z=0
   own.alignAxisToVect(MoveCopy,0,.05)

do you mean turn the actuator off?

no, just facing not the wbole actuator

you can adjust the value at the end of align axis to vect, and it will the turn rate.

so the actuator moves the actor, and the python rotates him.

I made a point and click to navigate demo, its in resources and uses the same method I describe

One of these days, I will avoid paying property taxes by founding the Temple of alignAxisToVect()

We will have very interesting hats.

1 Like

will that mean that the object will still follow the path but it will just turn slowly or will it make the turns more of an arc rather than a sharp turn?

The value at the end,
1 = instant
0 = no turning
.5 = half way in 1 frame

own.alignAxisToVect(vector,axis,speed)

vector = can be any orientation vector (world)
axis , 0 = x , 1 = y, 2 = z

great, thanks for your help