Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bge.types.KX_SteeringActuator.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9e2f2a427a13eea0c13bc39f7b25819a4adfa37e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
KX_SteeringActuator(SCA_IActuator)
==================================

base class --- :class:`SCA_IActuator`

.. class:: KX_SteeringActuator(SCA_IActuator)

   Steering Actuator for navigation.

   .. attribute:: behavior

      The steering behavior to use.

      :type: one of :ref:`these constants <logic-steering-actuator>`

   .. attribute:: velocity

      Velocity magnitude

      :type: float

   .. attribute:: acceleration

      Max acceleration

      :type: float

   .. attribute:: turnspeed

      Max turn speed

      :type: float

   .. attribute:: distance

      Relax distance

      :type: float

   .. attribute:: target

      Target object

      :type: :class:`KX_GameObject`

   .. attribute:: navmesh

      Navigation mesh

      :type: :class:`KX_GameObject`

   .. attribute:: selfterminated

      Terminate when target is reached

      :type: boolean

   .. attribute:: enableVisualization

      Enable debug visualization

      :type: boolean

   .. attribute:: pathUpdatePeriod

      Path update period

      :type: int