2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
23 INTERNAL_getTargetPosition(out
Vector3 position);
28 INTERNAL_setTargetPosition(ref value);
36 public float radius { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
41 public float height { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
46 public float speed { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
51 public float acceleration { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
55 [MethodImpl(MethodImplOptions.InternalCall)]
56 private extern void INTERNAL_getTargetPosition(out
Vector3 position);
58 [MethodImpl(MethodImplOptions.InternalCall)]
59 private extern void INTERNAL_setTargetPosition(ref
Vector3 position);
float radius
The avoidance radius for the agent This is the agent's space within which obstacles and other agents ...
float height
The height of the agent for purposes of passing under obstacles, etc.
float acceleration
The maximum acceleration of an agent as it follows a path
float speed
Maximum movement speed when following a path
Vector3 targetPosition
Gets or attempts to set the destination of the agent in world-space units