Function FollowerEntity.CreateEntity
CreateEntity
(float3 position, quaternion rotation, float scale, refAgentCylinderShape shape, refMovementSettings movement, refECS.AutoRepathPolicy autoRepath, ManagedState managedState, OrientationMode orientation, MovementPlaneSource movementPlaneSource, bool updatePosition, bool updateRotation, PhysicsScene physicsScene)
Creates an entity with the given data.
Public
Static
Entity CreateEntity (
float3 | position | |
quaternion | rotation | |
float | scale | |
shape | ||
movement | ||
autoRepath | ||
managedState | ||
orientation | ||
movementPlaneSource | ||
bool | updatePosition | |
bool | updateRotation | |
PhysicsScene | physicsScene |
Creates an entity with the given data.
If you don't want to use the FollowerEntity MonoBehaviour, you can use this method to create an equivalent entity directly.