1. Hey

    its possible to get the Airdrop position if the plane spawnes?
    I know this works:
    Code:
     if (entity is SupplyDrop)
    {
       entity.transform.position
    }
    but i need the position if the cargoplane spawn.

    Any ideas?
     
  2. Wulf

    Wulf Community Admin

    Take a look at my Inbound plugin.
     
  3. Yes i did but it shows the position only if the supplydrop spawned. I need the position if the cargo plane spawnes not the supply. I think the cartgoplane knows where to drop or?

    i need the distance between airdrop pos and the cargoplane pos in realtime.
     
  4. The OnAirdrop" hook has all included:
    Code:
            void OnAirdrop(CargoPlane plane, Vector3 location)
            {
                Debug.Log(plane.transform.position);
                Debug.Log(location);
            }
     
  5. how would i make a plane do a U turn? like the AI in a way.